mirror of
https://gitlab.os-k.eu/neox/CNIRevelator.git
synced 2023-08-25 14:03:10 +02:00
Add files via upload
This commit is contained in:
parent
730fcb6488
commit
03b339f266
@ -99,7 +99,7 @@ def batch():
|
||||
getTheVersions = downloader.newdownload(credentials, urlparsed[0], globs.CNIRVerStock).download()
|
||||
|
||||
logfile.printdbg('Parsing the software versions')
|
||||
with open(globs.CNIRFolder + '\\versions.lst') as versionsFile:
|
||||
with open(globs.CNIRVerStock) as versionsFile:
|
||||
versionsTab = versionsFile.read().split("\n")[1].split("||")
|
||||
logfile.printdbg('Versions retrieved : {}'.format(versionsTab))
|
||||
# Choose the newer
|
||||
@ -124,6 +124,8 @@ def batch():
|
||||
|
||||
getTheUpdate = downloader.newdownload(credentials, finalurl, globs.CNIRFolder + '\\..\\CNIPackage.zip').download()
|
||||
|
||||
# And now unzip and launch
|
||||
|
||||
return True
|
||||
|
||||
## Main Function
|
||||
|
Loading…
Reference in New Issue
Block a user