1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Filter silly version codes (e.g. 007) when checking updates

This commit is contained in:
Ciaran Gultnieks 2012-09-04 18:52:33 +01:00
parent f8b6f7a251
commit c2ff1be72c

View File

@ -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)