diff --git a/Tools/audiopy/audiopy b/Tools/audiopy/audiopy index e1ab1b635d2..bef95c2f856 100755 --- a/Tools/audiopy/audiopy +++ b/Tools/audiopy/audiopy @@ -282,7 +282,8 @@ class MainWindow: def usage(msg='', code=1): print __doc__ % globals() - print msg + if msg: + print msg sys.exit(code)