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,6 +491,7 @@ def main():
if not gotcur: if not gotcur:
newbuild = latest.copy() newbuild = latest.copy()
if 'origlines' in newbuild:
del newbuild['origlines'] del newbuild['origlines']
newbuild['disable'] = False newbuild['disable'] = False
newbuild['vercode'] = app['Current Version Code'] newbuild['vercode'] = app['Current Version Code']