mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Merge pull request #789 from JackDandy/feature/FixPPProperCheck
Fix issue with post processing propers/repacks.
This commit is contained in:
commit
bcfcfaec8d
2 changed files with 3 additions and 1 deletions
|
@ -191,6 +191,7 @@
|
|||
* Remove ILT torrent provider
|
||||
* Update Tornado Web Server 4.3.dev1 (1b6157d) to 4.4.dev1 (c2b4d05)
|
||||
* Change add support for freebsd /var/db/zoneinfo when getting local timezone information
|
||||
* Fix issue with post processing propers/repacks
|
||||
|
||||
|
||||
### 0.11.15 (2016-09-13 19:50:00 UTC)
|
||||
|
|
|
@ -771,7 +771,8 @@ class PostProcessor(object):
|
|||
|
||||
# if there's an existing downloaded file with same quality, check filesize to decide
|
||||
if new_ep_quality == old_ep_quality:
|
||||
if re.search(r'\bproper|repack\b', self.nzb_name, re.I) or re.search(r'\bproper|repack\b', self.file_name, re.I):
|
||||
if (isinstance(self.nzb_name, basestring) and re.search(r'\bproper|repack\b', self.nzb_name, re.I)) or \
|
||||
(isinstance(self.file_name, basestring) and re.search(r'\bproper|repack\b', self.file_name, re.I)):
|
||||
self._log(u'Proper or repack with same quality, marking it safe to replace', logger.DEBUG)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in a new issue