Commit 5563b946 authored by echel0n's avatar echel0n
Browse files

Fixed attribute error for postprocessing queue

parent 5f929177
# Changelog
- * 98a5062 - 2017-10-17: Release v9.1.40
- * 46ee39d - 2017-10-17: Fixed attribute error for postprocessing queue
- * fea50e2 - 2017-10-17: Release v9.1.40
- * 94e71c8 - 2017-10-17: Fixed issue #88 - Show are truncated when show set in different language
- * e6e0237 - 2017-10-17: Added Anizb Newznab provider
- * f45988b - 2017-10-17: Refactored Newznab provider code Refactored locations of static files and mako templates
......
......@@ -54,7 +54,7 @@ class srPostProcessorQueue(srQueue):
:return: instance of PostProcessorItem or None
"""
for __, __, cur_item in self.queue + [(None, None, self.currentItem)]:
if isinstance(cur_item, PostProcessorItem) and cur_item.directory == dirName and cur_item.mode == proc_type:
if isinstance(cur_item, PostProcessorItem) and cur_item.dirName == dirName and cur_item.mode == proc_type:
return cur_item
return None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment