diff plugins/plugin_xep_0045.py @ 91:39c672544593

Tarot: bidding phase - quick_app: command line is now parsed, "profile" option allow to select it - xml_tools: list-single is now managed - plugin tarot: method and signal to manage contract (contrat): tarotChooseContrat & tarotGameContratChoosed - wix: Q&D Form hack to manage more generic form (not only registration), used to show contract selection form
author Goffi <goffi@goffi.org>
date Thu, 27 May 2010 19:26:19 +0930
parents ace2af8abc5a
children 2f87651a5ad8
line wrap: on
line diff
--- a/plugins/plugin_xep_0045.py	Sun May 23 16:39:05 2010 +0930
+++ b/plugins/plugin_xep_0045.py	Thu May 27 19:26:19 2010 +0930
@@ -82,7 +82,7 @@
         @param profile: profile to check
         @return: True if the profile is known and connected, else False"""
         if not profile or not self.clients.has_key(profile) or not self.host.isConnected(profile):
-            error (_('Unknown or disconnected profile'))
+            error (_('Unknown or disconnected profile (%s)') % profile)
             if self.clients.has_key(profile):
                 del self.clients[profile]
             return False