From 82a4d902f5a25d48c2dcf35882045941685b27c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 29 Dec 2018 12:04:23 +0200 Subject: [PATCH] Fix traceback when logging conf file parse error --- samsungctl/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samsungctl/__main__.py b/samsungctl/__main__.py index a85d194..aee5bd6 100644 --- a/samsungctl/__main__.py +++ b/samsungctl/__main__.py @@ -52,7 +52,7 @@ def _read_config(): try: config_json = json.load(config_file) except ValueError as e: - messsage = "Warning: Could not parse the configuration file.\n %s" + message = "Warning: Could not parse the configuration file.\n %s" logging.warning(message, e) return config