diff options
| author | Yuval Adam <_@yuv.al> | 2022-04-21 08:44:59 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2022-04-21 08:44:59 +0300 |
| commit | 84a6cd4ef7fc64568c7865cbcea287743386b2b6 (patch) | |
| tree | fefe4a3cdf159b3ce4fcc40cf76950f4d2423443 | |
| parent | ee9f977d7393c5c5cc88aa2e770e049786b87f9d (diff) | |
Clean lint
| -rw-r--r-- | alarmpy/alarmpy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alarmpy/alarmpy.py b/alarmpy/alarmpy.py index ad988af..c43ff6c 100644 --- a/alarmpy/alarmpy.py +++ b/alarmpy/alarmpy.py @@ -97,7 +97,7 @@ class Alarm: def load_labels(self): DATA_DIR = Path(__file__).parent / "data" - with open(DATA_DIR / "labels.json", "r") as f: + with open(DATA_DIR / "labels.json", "r", encoding="utf-8") as f: return json.load(f) def start(self): |
