added dynamic timout to HP and CPS. Change timebase to seconds. #295 #300

This commit is contained in:
clinton-hall 2014-04-02 11:38:51 +10:30
commit 08968619ab
12 changed files with 62 additions and 33 deletions

View file

@ -51,7 +51,7 @@ def process(dirName, nzbName=None, status=0, inputCategory=None):
else:
protocol = "http://"
nzbName, dirName = converto_to_ascii(nzbName, dirName)
nzbName, dirName = convert_to_ascii(nzbName, dirName)
baseURL = protocol + host + ":" + port + web_root + "/api?api_key=" + apikey + "&mode="