mirror of
https://github.com/evilhero/mylar
synced 2024-12-25 17:16:51 +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:
parent
4fad909380
commit
640fafc3d3
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue