From b46783e1845eb81d0773e3d51b9887b94d7e1d36 Mon Sep 17 00:00:00 2001 From: antheas Date: Wed, 13 Mar 2024 17:16:53 +0100 Subject: [PATCH] set updated at the correct spot --- src/hhd/__main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hhd/__main__.py b/src/hhd/__main__.py index c6d2fcee..efa684ab 100644 --- a/src/hhd/__main__.py +++ b/src/hhd/__main__.py @@ -644,7 +644,9 @@ def progress(idx, blockSize, total): st = os.stat(out_fn) os.chmod(out_fn, st.st_mode | stat.S_IEXEC) break - updated = True + + # Set updated + updated = True else: logger.error( f"Could not update, python executable is not within a venv (checked for 'venv' in path name):\n{exe_python}"