mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Filter silly version codes (e.g. 007) when checking updates
This commit is contained in:
parent
f8b6f7a251
commit
c2ff1be72c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user