diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-30 17:24:41 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-07-30 17:35:21 +0200 |
commit | ecf22cb4a4261b1fbbe893a0ec1bf185fcc02db8 (patch) | |
tree | 0f50ed72760d4c030edd701597e6ab1a7f78a9cb /src/core/handlers.py | |
parent | a404195a0a57030017067573aba1de2570f0280c (diff) | |
download | poezio-ecf22cb4a4261b1fbbe893a0ec1bf185fcc02db8.tar.gz poezio-ecf22cb4a4261b1fbbe893a0ec1bf185fcc02db8.tar.bz2 poezio-ecf22cb4a4261b1fbbe893a0ec1bf185fcc02db8.tar.xz poezio-ecf22cb4a4261b1fbbe893a0ec1bf185fcc02db8.zip |
Fix all the connect() reconnect() stuff
The /reconnect command should now properly work everytime.
Diffstat (limited to 'src/core/handlers.py')
-rw-r--r-- | src/core/handlers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py index 92533d63..94a0614b 100644 --- a/src/core/handlers.py +++ b/src/core/handlers.py @@ -812,11 +812,11 @@ def on_groupchat_presence(self, presence): ### Connection-related handlers ### -def on_failed_connection(self): +def on_failed_connection(self, error): """ We cannot contact the remote server """ - self.information(_("Connection to remote server failed"), _('Error')) + self.information(_("Connection to remote server failed: %s" % (error,)), _('Error')) def on_disconnected(self, event): """ |