Convert to new-style class by inheriting from object

This commit is contained in:
labrys 2016-05-31 03:38:54 -04:00 committed by Labrys
commit 0a1fe84306
5 changed files with 13 additions and 8 deletions

View file

@ -9,7 +9,8 @@ from core import logger
requests.packages.urllib3.disable_warnings()
class autoProcessComics:
class autoProcessComics(object):
def processEpisode(self, section, dirName, inputName=None, status=0, clientAgent='manual', inputCategory=None):
if int(status) != 0:
logger.warning("FAILED DOWNLOAD DETECTED, nothing to process.",section)