diff --git a/src/darsia/assistants/rectangle_selection_assistant.py b/src/darsia/assistants/rectangle_selection_assistant.py index 82d76f47..1f45b6ca 100644 --- a/src/darsia/assistants/rectangle_selection_assistant.py +++ b/src/darsia/assistants/rectangle_selection_assistant.py @@ -17,7 +17,7 @@ class RectangleSelectionAssistant(darsia.BaseAssistant): """ - def __init__(self, img: darsia.Image, **kwargs) -> None: + def __init__(self, img: Optional[darsia.Image], **kwargs) -> None: """Initialize the assistant. Args: