Commit b896e969 authored by echel0n's avatar echel0n
Browse files

Fixed issue #94 - manual post processing error

parent 3182cdc2
# Changelog
- * 828a89c - 2017-10-18: Release v9.1.45
- * e8128a0 - 2017-10-19: Fixed issue #94 - manual post processing error
- * b0b9201 - 2017-10-18: Release v9.1.45
- * 71563bd - 2017-10-18: Fixed source url for login page logo
- * d41ddae - 2017-10-18: Fixed source url for login page logo
- * ccdac84 - 2017-10-18: Fixed issue #69 - Torrent snatched but not added to qBittorrent
......
......@@ -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.dirName == dirName and cur_item.mode == proc_type:
if isinstance(cur_item, PostProcessorItem) and cur_item.dirName == dirName and cur_item.proc_type == 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