1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 23:05:11 -05:00

Add forgotten 'self' argument to _isSection

This commit is contained in:
iron8core 2014-05-13 13:19:03 +02:00
parent 2318e43e89
commit 220b139bcc

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