mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Convert to new-style class by inheriting from object
This commit is contained in:
parent
c7defa37da
commit
0a1fe84306
5 changed files with 13 additions and 8 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue