Skip to content

Commit

Permalink
Fix for finishing with no --reported-db specified
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-fg committed Jan 7, 2013
1 parent b953141 commit c2299f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def quote_split(arg_line):
if optz.top_n is not None and n >= optz.top_n: break
except KeyboardInterrupt: sys.exit(0)
finally:
if optz.reported_db is not None: optz.reported_db.sync()
if optz.reported_db: optz.reported_db.sync()


if __name__ == '__main__': main()

0 comments on commit c2299f7

Please sign in to comment.