diff --git a/bin/gtranscribe b/bin/gtranscribe index 12e62af..5ae795b 100755 --- a/bin/gtranscribe +++ b/bin/gtranscribe @@ -496,10 +496,10 @@ if __name__ == "__main__": parser.add_argument("file", nargs='?', help=_("Audio file to load")) args = parser.parse_args() + logger = logging.getLogger('root') # Set the logging level to show debug messages if args.verbose: logging.basicConfig(level=logging.DEBUG) - logger = logging.getLogger('root') logger.debug('logging enabled') audiofile = None