patch from dkirov to fix TB with gaim presences
This commit is contained in:
parent
96f19e9c10
commit
39688db977
1 changed files with 3 additions and 1 deletions
|
@ -121,9 +121,11 @@ class Zeroconf:
|
||||||
if c == '=':
|
if c == '=':
|
||||||
val = ''
|
val = ''
|
||||||
else:
|
else:
|
||||||
key += c
|
key += c
|
||||||
else:
|
else:
|
||||||
val += c
|
val += c
|
||||||
|
if val is None: # missing '='
|
||||||
|
val = ''
|
||||||
txt_dict[key] = val.decode('utf-8')
|
txt_dict[key] = val.decode('utf-8')
|
||||||
return txt_dict
|
return txt_dict
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue