mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Filter silly version codes (e.g. 007) when checking updates
This commit is contained in:
parent
f8b6f7a251
commit
c2ff1be72c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue