From 8661ed1c17176a889da2e9d8e8a714feaa0acd81 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 19 Apr 2007 17:54:04 +0000 Subject: [PATCH] [misc] if status is not set in the TXT record in zeroconf, consider it as avail, see #3057 --- src/common/zeroconf/roster_zeroconf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/zeroconf/roster_zeroconf.py b/src/common/zeroconf/roster_zeroconf.py index ea676ac23..1de058af7 100644 --- a/src/common/zeroconf/roster_zeroconf.py +++ b/src/common/zeroconf/roster_zeroconf.py @@ -67,6 +67,8 @@ class Roster: status = txt_dict['status'] else: status = '' + if not status: + status = 'avail' nm = '' if txt_dict.has_key('1st'): nm = txt_dict['1st']