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

@ -16,7 +16,8 @@ from core.transcoder import transcoder
requests.packages.urllib3.disable_warnings()
class autoProcessTV:
class autoProcessTV(object):
def command_complete(self, url, params, headers, section):
try:
r = requests.get(url, params=params, headers=headers, stream=True, verify=False, timeout=(30, 60))