From 39688db97752f38e699332cc7d19bf75ce36cd25 Mon Sep 17 00:00:00 2001 From: Stefan Bethge Date: Mon, 16 Oct 2006 19:43:02 +0000 Subject: [PATCH] patch from dkirov to fix TB with gaim presences --- src/common/zeroconf/zeroconf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/zeroconf/zeroconf.py b/src/common/zeroconf/zeroconf.py index 54f7c4601..bd03d1b3d 100755 --- a/src/common/zeroconf/zeroconf.py +++ b/src/common/zeroconf/zeroconf.py @@ -121,9 +121,11 @@ class Zeroconf: if c == '=': val = '' else: - key += c + key += c else: val += c + if val is None: # missing '=' + val = '' txt_dict[key] = val.decode('utf-8') return txt_dict