Ensure 'style' argument is actually optional

This commit is contained in:
XANTRONIX Development 2024-01-05 22:46:41 -05:00
parent 57147c95c4
commit 4e8df79c5b

View file

@ -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