mirror of
https://gitlab.os-k.eu/neox/CNIRevelator.git
synced 2023-08-25 14:03:10 +02:00
Correcting an update system bug
This commit is contained in:
parent
956adb828d
commit
8dacb2836c
@ -26,7 +26,7 @@ import os
|
|||||||
|
|
||||||
# CNIRevelator version
|
# CNIRevelator version
|
||||||
verType = "alpha"
|
verType = "alpha"
|
||||||
version = [3, 0, 3]
|
version = [3, 0, 1]
|
||||||
verstring_full = "{}.{}.{} {}".format(version[0], version[1], version[2], verType)
|
verstring_full = "{}.{}.{} {}".format(version[0], version[1], version[2], verType)
|
||||||
verstring = "{}.{}".format(version[0], version[1])
|
verstring = "{}.{}".format(version[0], version[1])
|
||||||
debug = True
|
debug = True
|
||||||
|
@ -143,7 +143,7 @@ def getLatestVersion(credentials):
|
|||||||
finalurl = url
|
finalurl = url
|
||||||
finalchecksum = checksum
|
finalchecksum = checksum
|
||||||
else:
|
else:
|
||||||
finalurl = None
|
finalurl = url
|
||||||
finalchecksum = None
|
finalchecksum = None
|
||||||
|
|
||||||
return (finalver, finalurl, finalchecksum)
|
return (finalver, finalurl, finalchecksum)
|
||||||
@ -243,9 +243,6 @@ def batch(credentials):
|
|||||||
|
|
||||||
launcherWindow.printmsg('Success !')
|
launcherWindow.printmsg('Success !')
|
||||||
|
|
||||||
# Install Tesseract !
|
|
||||||
tessInstall(UPATH, credentials)
|
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
try:
|
try:
|
||||||
os.remove(globs.CNIRFolder + '\\downloads\\CNIPackage.zip')
|
os.remove(globs.CNIRFolder + '\\downloads\\CNIPackage.zip')
|
||||||
|
Loading…
Reference in New Issue
Block a user