1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 01:01:47 +00:00

FIX: When Failed download handling was being run, would fail to find nzb/torrent in the db due to extra characters not being parsed.

This commit is contained in:
evilhero 2015-03-28 17:50:26 -04:00
parent 4fad909380
commit 640fafc3d3

View file

@ -85,8 +85,9 @@ class FailedProcessor(object):
#replace spaces
nzbname = re.sub(' ', '.', str(nzbname))
nzbname = re.sub('[\,\:\?]', '', str(nzbname))
nzbname = re.sub('[\,\:\?\'\(\)]', '', str(nzbname))
nzbname = re.sub('[\&]', 'and', str(nzbname))
nzbname = re.sub('_', '.', str(nzbname))
logger.fdebug(module + ' After conversions, nzbname is : ' + str(nzbname))
self._log("nzbname: " + str(nzbname))