1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

Fixes issue #27

This commit is contained in:
echel0n 2014-04-21 20:58:03 -07:00
parent 8c78b558b5
commit ea38289dd8

View File

@ -49,7 +49,7 @@ else:
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
host = "localhost"
port = "8081"
@ -117,6 +117,9 @@ def processEpisode(dir_to_process, org_NZB_name=None):
if org_NZB_name != None:
params['nzbName'] = org_NZB_name
if status != None:
params['failed'] = status
if ssl:
protocol = "https://"
else: