Skip to content
Permalink
Browse files

Follow up to 745761f, make quiet really quiet (ref #376)

  • Loading branch information
saimn committed Oct 5, 2019
1 parent 1462163 commit b518ffb77413b2e5f07716b234beac308cb3c85b
Showing with 4 additions and 3 deletions.
  1. +4 −3 sigal/__init__.py
@@ -175,9 +175,10 @@ def format_stats(_type):
opt = ' ({})'.format(', '.join(opt)) if opt else ''
return '{} {}s{}'.format(stats[_type], _type, opt)

print('Done, processed {} and {} in {:.2f} seconds.'
.format(format_stats('image'), format_stats('video'),
time.time() - start_time))
if not quiet:
print('Done, processed {} and {} in {:.2f} seconds.'
.format(format_stats('image'), format_stats('video'),
time.time() - start_time))


def init_plugins(settings):

0 comments on commit b518ffb

Please sign in to comment.
You can’t perform that action at this time.