mirror of
https://github.com/leoncvlt/loconotion.git
synced 2024-08-30 18:12:12 +00:00
Merge pull request #52 from flipio-ru/encoding
Set saved page encoding to utf-8
This commit is contained in:
commit
b8a59cda17
@ -127,7 +127,7 @@ def main():
|
||||
log.critical(f"Connection error")
|
||||
else:
|
||||
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())
|
||||
log.info(f"Initialising parser with configuration file")
|
||||
log.debug(parsed_config)
|
||||
|
Loading…
Reference in New Issue
Block a user