Skip to content

Commit

Permalink
Fix borked image update post Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Jun 6, 2023
1 parent 923c58a commit 7109246
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/AutoSplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ def __browse(self):
def __update_live_image_details(self, capture: cv2.Mat | None, called_from_timer: bool = False):
# HACK: Since this is also called in __get_capture_for_comparison,
# we don't need to update anything if the app is running
if called_from_timer and not (self.is_running or self.start_image):
if called_from_timer:
if self.is_running or self.start_image:
return
capture, _ = self.capture_method.get_frame(self)

# Update title from target window or Capture Device name
Expand Down

0 comments on commit 7109246

Please sign in to comment.