Correcting an update system bug

This commit is contained in:
Adrien Bourmault 2019-08-06 09:48:31 +02:00 committed by GitHub
parent 956adb828d
commit 8dacb2836c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -26,7 +26,7 @@ import os
# CNIRevelator version
verType = "alpha"
version = [3, 0, 3]
version = [3, 0, 1]
verstring_full = "{}.{}.{} {}".format(version[0], version[1], version[2], verType)
verstring = "{}.{}".format(version[0], version[1])
debug = True

View File

@ -143,7 +143,7 @@ def getLatestVersion(credentials):
finalurl = url
finalchecksum = checksum
else:
finalurl = None
finalurl = url
finalchecksum = None
return (finalver, finalurl, finalchecksum)
@ -243,9 +243,6 @@ def batch(credentials):
launcherWindow.printmsg('Success !')
# Install Tesseract !
tessInstall(UPATH, credentials)
# Cleanup
try:
os.remove(globs.CNIRFolder + '\\downloads\\CNIPackage.zip')