Merge branch 'abuchanan920-develop' into develop

This commit is contained in:
Timmy Welch 2022-04-10 10:50:41 -07:00
commit b47f816dd5

View File

@ -89,7 +89,7 @@ class FileNameParser:
# is the series name followed by issue
filename = re.sub(r"--.*", self.repl, filename)
elif "__" in filename:
elif "__" in filename and not re.search(r"\[__\d+__\]", filename):
# the pattern seems to be that anything to left of the first "__"
# is the series name followed by issue
filename = re.sub(r"__.*", self.repl, filename)