refactor: unexpanded tilde in file path (#2283)

The path `'~/.maigret/settings.json'` uses a tilde (`~`) which is not automatically expanded by Python's `open()` function. This will cause the settings file in the user's home directory to be silently ignored (caught by `FileNotFoundError`) because Python will look for a literal directory named `~` in the current working directory.

Affected files: settings.py
This commit is contained in:
Tang Vu
2026-03-22 00:07:23 +07:00
committed by GitHub
parent 0e95e2e3cc
commit 5b7b28e683

Diff Content Not Available