Handle more python types
Begin arcbot message
This merge request is automatically copied from !1404 (merged) orginally made by @maikenp
End arcbot message
Related to !1376 (merged)
@waananen pointed out:
".".join(sys.version.split(".")[:2])
this works nicely if version is "x.y.z bla"
but not if version is "x.y bla"
so a simple change:
from: ".".join(sys.version.split(".")[:2])
to: ".".join(sys.version.split(" ")[0].split(".")[:2])