mirror of
https://gitlab.os-k.eu/neox/CNIRevelator.git
synced 2023-08-25 14:03:10 +02:00
cleanup tests
This commit is contained in:
parent
78dc489885
commit
7433a4fef5
@ -65,8 +65,6 @@ try:
|
|||||||
except Exception:
|
except Exception:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
updater.UPDATE_IS_MADE = True
|
|
||||||
|
|
||||||
if updater.UPDATE_IS_MADE:
|
if updater.UPDATE_IS_MADE:
|
||||||
# Launch app !
|
# Launch app !
|
||||||
args = updater.UPATH + '\\CNIRevelator.exe ' + globs.CNIRFolder
|
args = updater.UPATH + '\\CNIRevelator.exe ' + globs.CNIRFolder
|
||||||
|
@ -210,9 +210,8 @@ def umain():
|
|||||||
while os.path.exists(str(sys.argv[1])):
|
while os.path.exists(str(sys.argv[1])):
|
||||||
try:
|
try:
|
||||||
shutil.rmtree(str(sys.argv[1]))
|
shutil.rmtree(str(sys.argv[1]))
|
||||||
except:
|
except Exception as e:
|
||||||
pass
|
logfile.printdbg(str(e))
|
||||||
logfile.printdbg("Fail to delete old install !")
|
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user