Fix for Duckclient which sends TTYPE 'MTTS13' instead of 'MTTS 13' like other clients.

This commit is contained in:
Griatch 2016-11-26 02:01:18 +01:00
parent b893e4b8f5
commit ac73f59ed6

View file

@ -142,7 +142,7 @@ class Ttype(object):
elif self.ttype_step == 3:
# the MTTS bitstring identifying term capabilities
if option.startswith("MTTS"):
option = option.split(" ")[1]
option = option[4:].strip()
if option.isdigit():
# a number - determine the actual capabilities
option = int(option)