Skip to content

Commit

Permalink
Merge pull request #29 from sdsznsk/fix_bad_mod_version_regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpas committed Nov 23, 2023
2 parents 5293b29 + 2a6bbd1 commit f1e0b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def bool_str(text):
), "Illegal characters in GAME_MODS_IDS_LIST env"
mods = str(os.environ["GAME_MODS_IDS_LIST"]).split(",")
mods[:] = [mod for mod in mods if mod] # Remove empty items form list
reg = re.compile(r"^\d\.\d\.\d$")
reg = re.compile(r"^\d+\.\d+\.\d+$")
for mod in mods:
mod_details = mod.split("=")
assert 0 < len(mod_details) < 3, f"{mod} mod not defined properly"
Expand Down

0 comments on commit f1e0b62

Please sign in to comment.