Updated requests lib.

More code cleanup done.
This commit is contained in:
echel0n 2014-04-17 20:44:41 -07:00
commit 086eaaa516
19 changed files with 347 additions and 123 deletions

View file

@ -74,7 +74,7 @@ class autoProcessMusic:
nzbName, dirName = convert_to_ascii(nzbName, dirName)
baseURL = protocol + host + ":" + port + web_root + "/api"
url = "%s%s:%s%s/api" % (protocol,host,port,web_root)
if status == 0:
@ -87,7 +87,6 @@ class autoProcessMusic:
dirName_new = os.path.join(remote_path, os.path.basename(os.path.dirname(dirName))).replace("\\", "/")
params['dir'] = dirName_new
url = baseURL
release_status = self.get_status(url, apikey, dirName)