From fe6f81505bc98037f3b8d7cdc9a7c214f44d4c47 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 14 Mar 2015 13:38:01 +0530 Subject: [PATCH] versions are strings --- oml/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oml/update.py b/oml/update.py index 01d4b01..cbe391f 100644 --- a/oml/update.py +++ b/oml/update.py @@ -61,7 +61,7 @@ def check(): return False 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(): if not os.path.exists(os.path.join(settings.config_path, 'release.json')):