Add default to customProgress cust_objs

This commit is contained in:
Matthias 2024-07-13 10:52:03 +02:00
parent 8a166b04f9
commit 87b78b5ec5

View File

@ -5,7 +5,7 @@ from rich.progress import Progress
class CustomProgress(Progress):
def __init__(self, *args, cust_objs, **kwargs) -> None:
def __init__(self, *args, cust_objs=[], **kwargs) -> None:
self._cust_objs = cust_objs
super().__init__(*args, **kwargs)