Skip to content

Commit

Permalink
Release the lock if the task has already been started
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed Dec 4, 2014
1 parent a87fb38 commit c6dae7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Trakttv.bundle/Contents/Code/core/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def run(self):

# Ensure task hasn't already been started
if self.started:
self.lock.release()
return

self.started = True
Expand Down

0 comments on commit c6dae7a

Please sign in to comment.