Skip to content

Commit b46783e

Browse files
committed
set updated at the correct spot
1 parent 3c2312c commit b46783e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hhd/__main__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,9 @@ def progress(idx, blockSize, total):
644644
st = os.stat(out_fn)
645645
os.chmod(out_fn, st.st_mode | stat.S_IEXEC)
646646
break
647-
updated = True
647+
648+
# Set updated
649+
updated = True
648650
else:
649651
logger.error(
650652
f"Could not update, python executable is not within a venv (checked for 'venv' in path name):\n{exe_python}"

0 commit comments

Comments
 (0)