mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 22:19:01 +00:00
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: