From 2a3e32f70b50ccdca08db19ccc4898dce76896a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Wed, 17 Jun 2020 20:51:35 +0200 Subject: [PATCH] read as byte --- geruecht/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geruecht/logger.py b/geruecht/logger.py index c428a18..0348262 100644 --- a/geruecht/logger.py +++ b/geruecht/logger.py @@ -12,7 +12,7 @@ if not path.exists("geruecht/log/info"): makedirs(b) -with open("geruecht/logging.yml", 'rt') as file: +with open("geruecht/logging.yml", 'rb') as file: config = yaml.safe_load(file.read()) logging.config.dictConfig(config)