Private GIT

Skip to content
Snippets Groups Projects
Commit a8841aa2 authored by labrys's avatar labrys
Browse files

Fix issue-243

parent c33acbbe
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ class ShowQueue(generic_queue.GenericQueue):
# remove other queued actions for this show.
for x in self.queue:
if show.indexerid == x.show.indexerid and x != self.currentItem:
if x and x != self.currentItem and show.indexerid == x.show.indexerid:
self.queue.remove(x)
queueItemObj = QueueItemRemove(show=show, full=full)
......
......@@ -45,6 +45,7 @@ class Show:
if error is not None:
return error, show
if show:
try:
sickbeard.showQueueScheduler.action.removeShow(show, bool(remove_files))
except CantRemoveShowException as exception:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment