Skip to content

Commit

Permalink
Fix loading of audio files
Browse files Browse the repository at this point in the history
  • Loading branch information
innir committed Feb 22, 2017
1 parent d8c7ef2 commit 8c1da0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gtranscribe
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c1da0f

Please sign in to comment.