Fix TB when bookmark['print_status'] is not stored on server

This commit is contained in:
Jean-Marie Traissard 2006-05-14 21:34:25 +00:00
parent d39055fe3c
commit 7d4cebf970
1 changed files with 2 additions and 1 deletions

View File

@ -2265,7 +2265,8 @@ class ManageBookmarksWindow:
autojoin = helpers.from_xs_boolean_to_python_boolean( autojoin = helpers.from_xs_boolean_to_python_boolean(
bookmark['autojoin']) bookmark['autojoin'])
print_status = bookmark['print_status'] if bookmark.has_key('print_status'):
print_status = bookmark['print_status']
if not print_status: if not print_status:
print_status = gajim.config.get('print_status_in_muc') print_status = gajim.config.get('print_status_in_muc')
self.treestore.append( iter, [ self.treestore.append( iter, [