From c2ff1be72c54757ea3072e31293886f1f34a0669 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Tue, 4 Sep 2012 18:52:33 +0100 Subject: [PATCH] Filter silly version codes (e.g. 007) when checking updates --- fdroidserver/checkupdates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index c73d8a69..b3ae4e54 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -218,7 +218,7 @@ def main(): else: print '...updating to version:' + version + ' vercode:' + vercode app['Current Version'] = version - app['Current Version Code'] = vercode + app['Current Version Code'] = (str)((int)vercode) metafile = os.path.join('metadata', app['id'] + '.txt') common.write_metadata(metafile, app)