Ensure 'style' argument is actually optional
This commit is contained in:
parent
57147c95c4
commit
4e8df79c5b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue