mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-09 10:39:11 +02:00
Add native Windows compatibility layer
This commit is contained in:
parent
6f468c1335
commit
50ad76113e
54 changed files with 1105 additions and 268 deletions
|
|
@ -197,7 +197,7 @@ def _load_config(account: str | None = None) -> dict:
|
|||
try:
|
||||
settings_path = Path(__file__).resolve().parent.parent / "data" / "settings.json"
|
||||
if settings_path.exists():
|
||||
settings = json.loads(settings_path.read_text())
|
||||
settings = json.loads(settings_path.read_text(encoding="utf-8"))
|
||||
for key in (
|
||||
"imap_host", "imap_port", "imap_user", "imap_password",
|
||||
"smtp_host", "smtp_port", "smtp_user", "smtp_password",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue