Fix bug with parsing tmux version from next-<major>.<minor>
This commit is contained in:
parent
14cc0d2df8
commit
11a2362199
|
@ -81,5 +81,6 @@ def get_tmux_version(pl):
|
|||
major, minor = version_string.split('.')
|
||||
major = NON_DIGITS.subn('', major)[0]
|
||||
suffix = DIGITS.subn('', minor)[0] or None
|
||||
major = NON_DIGITS.subn('', major)[0]
|
||||
minor = NON_DIGITS.subn('', minor)[0]
|
||||
return TmuxVersionInfo(int(major), int(minor), suffix)
|
||||
|
|
Loading…
Reference in New Issue