From c947a1935f8a3b7b036fb9a9e1acce129653d3c7 Mon Sep 17 00:00:00 2001 From: Arto K <arto.kitula@gmail.com> Date: Tue, 8 Aug 2017 13:56:44 +0300 Subject: [PATCH] --config parameter parsing was incompatible with python 3.5 --- flamenco_worker/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flamenco_worker/config.py b/flamenco_worker/config.py index 7ea44328..c85c2c03 100644 --- a/flamenco_worker/config.py +++ b/flamenco_worker/config.py @@ -89,7 +89,7 @@ def load_config(config_file: pathlib.Path = None, if not config_file.exists(): log.fatal('Config file %s does not exist', config_file) raise SystemExit() - loaded = confparser.read(config_file, encoding='utf8') + loaded = confparser.read(str(config_file), encoding='utf8') else: if not GLOBAL_CONFIG_FILE.exists(): log.fatal('Config file %s does not exist', GLOBAL_CONFIG_FILE) -- GitLab