From 22aaf29e8cc8240869b7566c65c9d627bab81d14 Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 1 Oct 2014 10:34:04 +0200 Subject: [PATCH] Using logging module --- songbook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/songbook b/songbook index 1bd48f92..06b79bba 100755 --- a/songbook +++ b/songbook @@ -92,7 +92,7 @@ def main(): locale.setlocale(locale.LC_ALL, '') except locale.Error as error: # Locale is not installed on user's system, or wrongly configured. - sys.stderr.write("Locale error: {}\n".format(str(error))) + LOGGER.error("Locale error: {}\n".format(str(error))) options = argument_parser(sys.argv[1:])