Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
ignore case in scene version parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolar committed Jun 1, 2020
1 parent 8eb5f2a commit 09df26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pype/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def get_version_from_path(file):
v: version number in string ('001')
"""
pattern = re.compile(r"[\._]v([0-9]+)")
pattern = re.compile(r"[\._]v([0-9]+)", re.IGNORECASE)
try:
return pattern.findall(file)[0]
except IndexError:
Expand Down

0 comments on commit 09df26b

Please sign in to comment.