From 5679d4314b4bd604b37560fcc55863076da71fb5 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sun, 27 Mar 2011 00:15:36 +0300 Subject: [PATCH] Prevention of cyclical imports. Fixes #6845 --- src/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index e6932957d..d1ee2ca00 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -38,7 +38,6 @@ import vcard import conversation_textview import message_control import dataforms_widget -import disco from random import randrange from common import pep @@ -2388,6 +2387,7 @@ class JoinGroupchatWindow: else: try: # Object will add itself to the window dict + import disco disco.ServiceDiscoveryWindow(self.account, server, initial_identities=[{'category': 'conference', 'type': 'text'}])