Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Hqndler authored Jun 28, 2022
1 parent 056d14d commit 66f5c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolobatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def process(liste):

def check_regex(name, mode):
name = name.replace(os.path.dirname(name), '')
regular = re.findall("[\s#._\[]\d+[\s._\]]", name)
regular = re.findall("[\s#._\[]\d\d+[\s._\]]", name)
if not regular:
season = re.findall("\w\d\d\w\d+", name)
if season:
Expand Down

0 comments on commit 66f5c2e

Please sign in to comment.