pychecker on vcard.py u always find sth

This commit is contained in:
Nikos Kouremenos 2005-12-01 18:07:43 +00:00
parent e3a9be9733
commit 037e9d6b9c
1 changed files with 3 additions and 2 deletions

View File

@ -406,8 +406,9 @@ class VcardWindow:
def on_publish_button_clicked(self, widget):
if gajim.connections[self.account].connected < 2:
ErrorDialog(_('You are not connected to the server'),
_('Without a connection you can not publish your contact information.')).get_response()
dialogs.ErrorDialog(_('You are not connected to the server'),
_('Without a connection you can not publish your contact '
'information.')).get_response()
return
vcard = self.make_vcard()
nick = ''