aboutsummaryrefslogtreecommitdiff
path: root/helpers/mapping.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/mapping.py')
-rw-r--r--helpers/mapping.py2
1 files changed, 1 insertions, 1 deletions
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):
91 stream = open(Config.yml_file, "r") 91 stream = open(Config.yml_file, "r")
92 try: 92 try:
93 config = yaml.load(stream) 93 config = yaml.load(stream)
94 except yaml.scanner.ScannerError as e: 94 except Exception as e:
95 error_print("Error while loading config file: {}".format(e)) 95 error_print("Error while loading config file: {}".format(e))
96 sys.exit() 96 sys.exit()
97 stream.close() 97 stream.close()