Removed: the backslash, isn't needed for only group name, the others that have it have a bracket in the group and then you need a backslash.

- Removed: the backslash, isn't needed for only group name, the others that have it have a bracket in the group and then you need a backslash.
pull/177/head
TRaSH 3 years ago
parent 8b66eea140
commit 57fc790765

@ -52,8 +52,8 @@ fwp = re.sub('(?i)\[eztv\]\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\[TGx\]\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\[TGx\]-xpost\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\[ettv\]\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\-WRTEAM\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)\-CAPTCHA\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-WRTEAM\.nzb$', '.nzb', fwp)
fwp = re.sub('(?i)-CAPTCHA\.nzb$', '.nzb', fwp)
if fwp:
print('[NZB] NZBNAME=', fwp, sep='')

Loading…
Cancel
Save