read as byte

This commit is contained in:
Tim Gröger 2020-06-17 20:51:35 +02:00
parent 4384d18fab
commit 2a3e32f70b
1 changed files with 1 additions and 1 deletions

View File

@ -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)