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

@ -1,5 +1,5 @@
#!/usr/bin/env python3
#
#
##############################################################################
### NZBGET SCAN SCRIPT ###
@ -52,9 +52,9 @@ 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='')
sys.exit(POSTPROCESS_SUCCESS)
sys.exit(POSTPROCESS_SUCCESS)

Loading…
Cancel
Save