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

Also catch cases where stored is e.g. None

This commit is contained in:
Daniel Martí 2014-01-15 17:45:47 +01:00
parent 934037fe3c
commit d04d4cc24c

View File

@ -314,7 +314,7 @@ def main():
print "%s encountered a problem: %s" % (common.getappname(app), reason)
if version is not None:
stored = app['Current Version']
if stored == '':
if not stored:
if options.verbose:
print "%s has no Current Version but has version %s on the Play Store" % (
common.getappname(app), version)