]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - music_sampler/helpers.py
Add comment action
[perso/Immae/Projets/Python/MusicSampler.git] / music_sampler / helpers.py
index fbd338b6ecfb730a630254f89c3c2f060f1c782d..9eb1a950ca50fb8028e7b52dd1d601f0d2a908f7 100644 (file)
@@ -232,7 +232,7 @@ def dump_config():
                 item, max_size, getattr(Config, item)))
 
 def build_config(args):
-    stream = open(Config.yml_file, "r")
+    stream = open(Config.yml_file, "r", encoding='utf8')
     try:
         config = yaml.safe_load(stream)
     except Exception as e: