Skip to content

Commit

Permalink
fewer messages with verbose=0
Browse files Browse the repository at this point in the history
  • Loading branch information
dpwe committed Apr 4, 2015
1 parent 9e2d2e0 commit 030865c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion audfprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ def main(argv):

else:
# Load existing hash table file (add, match, merge)
report([time.ctime() + " Reading hash table " + dbasename])
if args['--verbose']:
report([time.ctime() + " Reading hash table " + dbasename])
hash_tab = hash_table.HashTable(dbasename)
if analyzer and 'samplerate' in hash_tab.params \
and hash_tab.params['samplerate'] != analyzer.target_sr:
Expand Down

0 comments on commit 030865c

Please sign in to comment.