diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-18 21:17:12 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-20 21:48:54 +0200 |
commit | aee1334ca47ff55c815eee204fe03683a572be0f (patch) | |
tree | ba9beef4beca1ab9ac86430016ff223eece31e75 /helpers/mapping.py | |
parent | b37c72a236806f02e5538ba7e607f6add0cc6fb6 (diff) | |
download | MusicSampler-aee1334ca47ff55c815eee204fe03683a572be0f.tar.gz MusicSampler-aee1334ca47ff55c815eee204fe03683a572be0f.tar.zst MusicSampler-aee1334ca47ff55c815eee204fe03683a572be0f.zip |
Add fading
Diffstat (limited to 'helpers/mapping.py')
-rw-r--r-- | helpers/mapping.py | 2 |
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() |