mirror of
https://github.com/leoncvlt/loconotion.git
synced 2024-08-30 18:12:12 +00:00
Encoding = utf-8
This commit is contained in:
parent
001c332839
commit
75688d74b0
@ -127,7 +127,7 @@ def main():
|
|||||||
log.critical(f"Connection error")
|
log.critical(f"Connection error")
|
||||||
else:
|
else:
|
||||||
if Path(args.target).is_file():
|
if Path(args.target).is_file():
|
||||||
with open(args.target) as f:
|
with open(args.target, encoding="utf-8") as f:
|
||||||
parsed_config = toml.loads(f.read())
|
parsed_config = toml.loads(f.read())
|
||||||
log.info(f"Initialising parser with configuration file")
|
log.info(f"Initialising parser with configuration file")
|
||||||
log.debug(parsed_config)
|
log.debug(parsed_config)
|
||||||
|
Loading…
Reference in New Issue
Block a user