From 89d6fcf97b0ef4655f6daf19b9175a1051399f12 Mon Sep 17 00:00:00 2001 From: Alexander Molochko Date: Sun, 15 Dec 2019 00:47:35 +0300 Subject: [PATCH] Fix issues with utf8 paths from config --- scdl/scdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scdl/scdl.py b/scdl/scdl.py index b516a61..4fdbdc9 100755 --- a/scdl/scdl.py +++ b/scdl/scdl.py @@ -202,7 +202,7 @@ def get_config(): """ global token config = configparser.ConfigParser() - config.read(os.path.join(os.path.expanduser('~'), '.config/scdl/scdl.cfg')) + config.read(os.path.join(os.path.expanduser('~'), '.config/scdl/scdl.cfg'), "utf8") try: token = config['scdl']['auth_token'] path = config['scdl']['path']