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

Fix crash in checkupdates with auto-updates

This commit is contained in:
Daniel Martí 2014-06-04 13:29:01 +02:00
parent 9198cd4127
commit 3690b89e0a

View File

@ -491,7 +491,8 @@ def main():
if not gotcur: if not gotcur:
newbuild = latest.copy() newbuild = latest.copy()
del newbuild['origlines'] if 'origlines' in newbuild:
del newbuild['origlines']
newbuild['disable'] = False newbuild['disable'] = False
newbuild['vercode'] = app['Current Version Code'] newbuild['vercode'] = app['Current Version Code']
newbuild['version'] = app['Current Version'] + suffix newbuild['version'] = app['Current Version'] + suffix