From 4e8df79c5b43f5afa9bc8859fc8213e51d4db994 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Fri, 5 Jan 2024 22:46:41 -0500 Subject: [PATCH] Ensure 'style' argument is actually optional --- py/hexagram/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/hexagram/status.py b/py/hexagram/status.py index ad67a3c..bb46a4e 100644 --- a/py/hexagram/status.py +++ b/py/hexagram/status.py @@ -75,7 +75,7 @@ class StatusIcon(): raise FileNotFoundError(name + '.svg') - def __init__(self, status: VehicleStatus, name: str, width: float, height: float, color: str, style: Optional[str]): + def __init__(self, status: VehicleStatus, name: str, width: float, height: float, color: str, style: Optional[str]=None): self.status = status self.name = name self.width = width