versions are strings
This commit is contained in:
parent
685e038aff
commit
fe6f81505b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def check():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def current_version(module):
|
def current_version(module):
|
||||||
return settings.release['modules'][module]['version'] if module in settings.release['modules'] else -1
|
return settings.release['modules'][module]['version'] if module in settings.release['modules'] else ""
|
||||||
|
|
||||||
def download():
|
def download():
|
||||||
if not os.path.exists(os.path.join(settings.config_path, 'release.json')):
|
if not os.path.exists(os.path.join(settings.config_path, 'release.json')):
|
||||||
|
|
Loading…
Reference in a new issue