1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Merge pull request #559 from iron8core/scc_real_fix

Add forgotten 'self' argument to _isSection()
This commit is contained in:
echel0n 2014-05-13 05:25:07 -07:00
commit 43d91b7fa7

View File

@ -142,7 +142,7 @@ class SCCProvider(generic.TorrentProvider):
return [search_string]
def _isSection(section, text):
def _isSection(self, section, text):
title = '<title>.+? \| %s</title>' % section
if re.search(title, text, re.IGNORECASE):
return True