From 2b0d8e2a707774406fd8684275ea80c73278693a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 3 Nov 2005 22:15:40 +0000 Subject: [PATCH] fix TB --- src/config.py | 2 +- src/dialogs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.py b/src/config.py index f35d27e73..655e2f946 100644 --- a/src/config.py +++ b/src/config.py @@ -2519,7 +2519,7 @@ class AccountCreationWizardWindow: jid = helpers.parse_jid(jid) except helpers.InvalidFormat, s: pritext = _('Invalid User ID') - dialogs.ErrorDialog(pritext, s).get_response() + dialogs.ErrorDialog(pritext, str(s)).get_response() return username, server = gajim.get_room_name_and_server_from_room_jid(jid) diff --git a/src/dialogs.py b/src/dialogs.py index da3a67ee1..93ebc386e 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -360,7 +360,7 @@ _('Please fill in the data of the contact you want to add in account %s') %accou jid = helpers.parse_jid(jid) except helpers.InvalidFormat, s: pritext = _('Invalid User ID') - ErrorDialog(pritext, s).get_response() + ErrorDialog(pritext, str(s)).get_response() return # Check if jid is already in roster