pychecker on vcard.py u always find sth
This commit is contained in:
parent
e3a9be9733
commit
037e9d6b9c
1 changed files with 3 additions and 2 deletions
|
@ -406,8 +406,9 @@ class VcardWindow:
|
||||||
|
|
||||||
def on_publish_button_clicked(self, widget):
|
def on_publish_button_clicked(self, widget):
|
||||||
if gajim.connections[self.account].connected < 2:
|
if gajim.connections[self.account].connected < 2:
|
||||||
ErrorDialog(_('You are not connected to the server'),
|
dialogs.ErrorDialog(_('You are not connected to the server'),
|
||||||
_('Without a connection you can not publish your contact information.')).get_response()
|
_('Without a connection you can not publish your contact '
|
||||||
|
'information.')).get_response()
|
||||||
return
|
return
|
||||||
vcard = self.make_vcard()
|
vcard = self.make_vcard()
|
||||||
nick = ''
|
nick = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue