prevent TB

This commit is contained in:
Yann Leboulanger 2006-05-08 22:00:02 +00:00
parent 8f239a4be0
commit c159894cc4
1 changed files with 2 additions and 1 deletions

View File

@ -2446,8 +2446,9 @@ _('Please be sure to fill out server and room fields or remove this bookmark.'))
self.pass_entry.set_text(password)
else:
self.pass_entry.set_text('')
nick = model[iter][5].decode('utf-8')
nick = model[iter][5]
if nick:
nick = nick.decode('utf-8')
self.nick_entry.set_text(nick)
else:
self.nick_entry.set_text('')