[misc] if status is not set in the TXT record in zeroconf, consider it as avail, see #3057

This commit is contained in:
Yann Leboulanger 2007-04-19 17:54:04 +00:00
parent 5c1d54235b
commit 8661ed1c17
1 changed files with 2 additions and 0 deletions

View File

@ -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']