diff --git a/launch.py b/launch.py index a859c5e..af9c4bf 100644 --- a/launch.py +++ b/launch.py @@ -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"