diff --git a/src/CNIRevelator.py b/src/CNIRevelator.py index f7356a4..94cb97a 100644 --- a/src/CNIRevelator.py +++ b/src/CNIRevelator.py @@ -65,8 +65,6 @@ try: except Exception: sys.exit(1) -updater.UPDATE_IS_MADE = True - if updater.UPDATE_IS_MADE: # Launch app ! args = updater.UPATH + '\\CNIRevelator.exe ' + globs.CNIRFolder diff --git a/src/updater.py b/src/updater.py index 90372b1..13102da 100644 --- a/src/updater.py +++ b/src/updater.py @@ -210,9 +210,8 @@ def umain(): while os.path.exists(str(sys.argv[1])): try: shutil.rmtree(str(sys.argv[1])) - except: - pass - logfile.printdbg("Fail to delete old install !") + except Exception as e: + logfile.printdbg(str(e)) try: