Handle more python types
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])