Skip to content

Commit f788e81

Browse files
Update stage6_branded_application/pycasa/ui/tasks/pycasa_task.py
Return early if no active tab. Co-authored-by: siddhantwahal <33434221+siddhantwahal@users.noreply.github.com>
1 parent 937dc9b commit f788e81

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stage6_branded_application/pycasa/ui/tasks/pycasa_task.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def scan_current_path(self):
7878
msg = "No active tab/path. You must open a path before you can " \
7979
"scan it for faces"
8080
error(None, msg)
81+
return
8182

8283
active_editor = self.central_pane.active_editor
8384
model = active_editor.obj

0 commit comments

Comments
 (0)