mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for show_queue errors when loading a show
This commit is contained in:
parent
e05344d571
commit
5ec5dde9ba
@ -42,7 +42,7 @@ class ShowQueue(generic_queue.GenericQueue):
|
||||
|
||||
def _isInQueue(self, show, actions):
|
||||
shows = [x.show for x in self.queue.queue if x.action_id in actions] if not self.queue.empty() else []
|
||||
if self.currentItem.action_id in actions:
|
||||
if self.currentItem != None and self.currentItem.action_id in actions:
|
||||
shows.append(self.currentItem)
|
||||
|
||||
return show in shows
|
||||
|
Loading…
Reference in New Issue
Block a user