last ver
parent
a887fa995f
commit
8dd8014ddb
|
@ -45,7 +45,7 @@ if not os.path.exists(os.path.join(os.path.dirname(__file__), platform['system']
|
||||||
if not os.path.isdir(os.path.join(os.path.dirname(__file__), platform['system'],ver)):
|
if not os.path.isdir(os.path.join(os.path.dirname(__file__), platform['system'],ver)):
|
||||||
versions.remove(ver)
|
versions.remove(ver)
|
||||||
if len(versions)>0:
|
if len(versions)>0:
|
||||||
platform['version'] = versions[0]
|
platform['version'] = versions[-1]
|
||||||
else:
|
else:
|
||||||
log('die because the folder is empty')
|
log('die because the folder is empty')
|
||||||
exit()
|
exit()
|
||||||
|
|
Loading…
Reference in New Issue