From 84a6cd4ef7fc64568c7865cbcea287743386b2b6 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 21 Apr 2022 08:44:59 +0300 Subject: Clean lint --- alarmpy/alarmpy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.3.1