mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-15 22:05:02 -05:00
Fixes issue #27
This commit is contained in:
parent
8c78b558b5
commit
ea38289dd8
@ -49,7 +49,7 @@ else:
|
|||||||
HTTPBasicAuthHandler = urllib2.HTTPBasicAuthHandler
|
HTTPBasicAuthHandler = urllib2.HTTPBasicAuthHandler
|
||||||
|
|
||||||
|
|
||||||
def processEpisode(dir_to_process, org_NZB_name=None):
|
def processEpisode(dir_to_process, org_NZB_name=None, status=None):
|
||||||
# Default values
|
# Default values
|
||||||
host = "localhost"
|
host = "localhost"
|
||||||
port = "8081"
|
port = "8081"
|
||||||
@ -117,6 +117,9 @@ def processEpisode(dir_to_process, org_NZB_name=None):
|
|||||||
if org_NZB_name != None:
|
if org_NZB_name != None:
|
||||||
params['nzbName'] = org_NZB_name
|
params['nzbName'] = org_NZB_name
|
||||||
|
|
||||||
|
if status != None:
|
||||||
|
params['failed'] = status
|
||||||
|
|
||||||
if ssl:
|
if ssl:
|
||||||
protocol = "https://"
|
protocol = "https://"
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user