From 57fc790765a4b452e3ddfa6dd32e92662a387a0b Mon Sep 17 00:00:00 2001 From: TRaSH Date: Tue, 16 Mar 2021 17:36:03 +0100 Subject: [PATCH] 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. --- docs/NZBGet/scripts/Clean/Clean.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/NZBGet/scripts/Clean/Clean.py b/docs/NZBGet/scripts/Clean/Clean.py index bb563f168..c62997863 100644 --- a/docs/NZBGet/scripts/Clean/Clean.py +++ b/docs/NZBGet/scripts/Clean/Clean.py @@ -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) \ No newline at end of file +sys.exit(POSTPROCESS_SUCCESS)