[ BUG ] Unit System breaks application when defined in config
hentai-chan opened this issue · 0 comments
hentai-chan commented
Describe the bug
The application stops working after setting a default unit system.
(Steps to reproduce the behavior:)
1. Information about your system and version of python
Bug can be reproduced on Windows and Linux using Python 3.8.6.
2. Error message & warnings
Log file content:
[02-02-21 21:42:25] @weather.utils CRITICAL list index out of range
3. Code samples:
weather config --unit-system=si
Expected behavior
The result should use the configured unit system.
Additional context
This bug appears in weather, version 1.2.1
.