Skip to content

Commit

Permalink
Make sure the stop_event name exists
Browse files Browse the repository at this point in the history
  • Loading branch information
machinewrapped committed May 8, 2023
1 parent 443d2d7 commit b155fa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PySubtitleGPT/SubtitleProject.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def __init__(self, options : Options):
self.projectfile = None
self.needsupdate = False
self.lock = threading.Lock()
self.stop_event = None

project_mode = self.options.get('project', '')
if project_mode:
Expand Down

0 comments on commit b155fa5

Please sign in to comment.