Commit b43d9ffd authored by sb's avatar sb
Browse files

fix module imports (woops :)

parent 22c02ee2
from common import roster_zeroconf from common.zeroconf import roster_zeroconf
class ClientZeroconf: class ClientZeroconf:
def __init__(self, zeroconf): def __init__(self, zeroconf):
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
from calendar import timegm from calendar import timegm
import socks5 #import socks5
import common.xmpp import common.xmpp
from common import GnuPG from common import GnuPG
......
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
from common import helpers from common import helpers
from common import gajim from common import gajim
from common import GnuPG from common import GnuPG
from common import zeroconf from common.zeroconf import zeroconf
from common import connection_handlers_zeroconf from common.zeroconf import connection_handlers_zeroconf
from common import client_zeroconf from common.zeroconf import client_zeroconf
from connection_handlers_zeroconf import * from connection_handlers_zeroconf import *
USE_GPG = GnuPG.USE_GPG USE_GPG = GnuPG.USE_GPG
......
from common import zeroconf from common.zeroconf import zeroconf
class Roster: class Roster:
def __init__(self, zeroconf): def __init__(self, zeroconf):
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
from common import exceptions from common import exceptions
from common import i18n from common import i18n
from common import connection_zeroconf from common.zeroconf import connection_zeroconf
i18n.init() i18n.init()
_ = i18n._ _ = i18n._
...@@ -1741,7 +1741,7 @@ def __init__(self): ...@@ -1741,7 +1741,7 @@ def __init__(self):
self.register_handlers() self.register_handlers()
for account in gajim.config.get_per('accounts'): for account in gajim.config.get_per('accounts'):
if account == 'zeroconf': if account == 'zeroconf':
gajim.connections[account] = common.connection_zeroconf.ConnectionZeroconf(account) gajim.connections[account] = common.zeroconf.connection_zeroconf.ConnectionZeroconf(account)
else: else:
gajim.connections[account] = common.connection.Connection(account) gajim.connections[account] = common.connection.Connection(account)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment