Skip to content

Commit

Permalink
paths can't be None (but can be empty)
Browse files Browse the repository at this point in the history
  • Loading branch information
pozitronik committed Feb 25, 2024
1 parent d3db504 commit 0d1bca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sinner/gui/GUIForm.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def on_framedrop_change(self) -> object | str | list[str] | tuple[str, ...]:
self.GUIModel.framedrop = int(self.FrameDropSpinbox.get())
return self.FrameDropSpinbox.get() # Required by Tkinter design, but not really used

def library_add(self, paths: List[str] | None = None, reload: bool = False) -> None:
def library_add(self, paths: List[str], reload: bool = False) -> None:
"""
Add something to the sources library
:param paths: each path can point to an image or a folder with images
Expand Down

0 comments on commit 0d1bca8

Please sign in to comment.