Refactor process_episode -> process

This commit is contained in:
Labrys of Knossos 2018-12-19 17:24:04 -05:00
commit 6b52bb68d0
4 changed files with 10 additions and 10 deletions

View file

@ -12,7 +12,7 @@ requests.packages.urllib3.disable_warnings()
class Comic(object):
def process_episode(self, section, dir_name, input_name=None, status=0, client_agent='manual', input_category=None):
def process(self, section, dir_name, input_name=None, status=0, client_agent='manual', input_category=None):
apc_version = "2.04"
comicrn_version = "1.01"

View file

@ -51,7 +51,7 @@ class TV(object):
# ValueError catches simplejson's JSONDecodeError and json's ValueError
return False
def process_episode(self, section, dir_name, input_name=None, failed=False, client_agent="manual", download_id=None, input_category=None, failure_link=None):
def process(self, section, dir_name, input_name=None, failed=False, client_agent="manual", download_id=None, input_category=None, failure_link=None):
cfg = dict(core.CFG[section][input_category])