irmen / Tale

Interactive fiction (text adventure) and Mud framework
http://tale.readthedocs.io/
GNU Lesser General Public License v3.0
145 stars 35 forks source link

fix version parsing bug #10

Closed irmen closed 10 years ago

irmen commented 10 years ago

tale crashes at startup when the version string contains other stuff than just integers

  File "D:\PROJECTS\Tale\tale\driver.py", line 122, in <genexpr>
    return tuple(int(n) for n in v_str.split('.'))
ValueError: invalid literal for int() with base 10: '5-dev'