]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/mapping.py
Add fading
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / mapping.py
index 19fc3c5f2140ec9ba64feac2984b97d720e9f05b..9420acff8b4f07ab69023cab62af0965eb2f30d8 100644 (file)
@@ -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()