From aee1334ca47ff55c815eee204fe03683a572be0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 18 Jul 2016 21:17:12 +0200 Subject: Add fading --- helpers/mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers/mapping.py') diff --git a/helpers/mapping.py b/helpers/mapping.py index 19fc3c5..9420acf 100644 --- a/helpers/mapping.py +++ b/helpers/mapping.py @@ -91,7 +91,7 @@ class Mapping(RelativeLayout): stream = open(Config.yml_file, "r") try: config = yaml.load(stream) - except yaml.scanner.ScannerError as e: + except Exception as e: error_print("Error while loading config file: {}".format(e)) sys.exit() stream.close() -- cgit v1.2.3