read as byte
This commit is contained in:
parent
4384d18fab
commit
2a3e32f70b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue