add option to convert to ASCII. fixes #204

This commit is contained in:
clinton-hall 2013-11-25 12:03:54 +10:30
commit ed359e8468
8 changed files with 47 additions and 0 deletions

View file

@ -44,6 +44,8 @@ def process(dirName, nzbName=None, status=0):
else:
protocol = "http://"
nzbName, dirName = converto_to_ascii(nzbName, dirName)
baseURL = protocol + host + ":" + port + web_root + "/api?api_key=" + apikey + "&mode="
fields = nzbName.split("-")