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

@ -43,7 +43,7 @@ class autoProcessGames:
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)
fields = nzbName.split("-")
@ -59,8 +59,6 @@ class autoProcessGames:
params['db_id'] = gamezID
params['status'] = downloadStatus
url = baseURL
logger.debug("Opening URL: %s", url)
try: