(2012-12-29 22:15)cancan101 Wrote: I am pretty sure this line is buggy:
if version.find("-") -1:
My guess is the predicate is missing an == . All it does is drop the last character of the version string when no - is found.
I also just came across this bug,
I think its because its checking for a dash in the version string but not checking for a space
if version.find(" ") -1:
version = version[:version.find(" ")]