diff --git a/sept_qt/file_input_widget.py b/sept_qt/file_input_widget.py index 6a2640c..eee5670 100644 --- a/sept_qt/file_input_widget.py +++ b/sept_qt/file_input_widget.py @@ -52,7 +52,7 @@ def __init__( self._save_to_disk_button = None self._disk_path = disk_path - if disk_path and os.path.exists(disk_path): + if disk_path and os.path.exists(disk_path) and os.path.isfile(disk_path): self.load_path(disk_path) def load_path(self, path):