minecraftinstall matches 1.8 with no minor rev

This commit is contained in:
David Vierra 2014-12-31 03:16:16 -10:00
parent 2fe930e5b7
commit fa3b03a24e

View File

@ -97,7 +97,7 @@ def splitVersion(version):
:rtype: int, int, unicode
"""
try:
match = re.search(r"(\d+)\.(\d+)(.+)", version)
match = re.search(r"(\d+)\.(\d+)(.*)", version)
if match is None:
return 0, 0, ""
groups = match.groups()