minecraftinstall matches 1.8 with no minor rev
This commit is contained in:
parent
2fe930e5b7
commit
fa3b03a24e
@ -97,7 +97,7 @@ def splitVersion(version):
|
|||||||
:rtype: int, int, unicode
|
:rtype: int, int, unicode
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
match = re.search(r"(\d+)\.(\d+)(.+)", version)
|
match = re.search(r"(\d+)\.(\d+)(.*)", version)
|
||||||
if match is None:
|
if match is None:
|
||||||
return 0, 0, ""
|
return 0, 0, ""
|
||||||
groups = match.groups()
|
groups = match.groups()
|
||||||
|
Reference in New Issue
Block a user