diff --git a/otr.py b/otr.py index 7af114e..2bdb04d 100644 --- a/otr.py +++ b/otr.py @@ -22,8 +22,8 @@ from inspect import signature from gajim.common import const, app, helpers, configpaths from gajim.session import ChatControlSession from nbxmpp.protocol import Message, JID -from otrplugin.potr import context, crypt, proto -from otrplugin.keystore import Keystore +from .potr import context, crypt, proto +from .keystore import Keystore # Prototype of OTR Channel (secure conversations between Gajim user (Alice) and Gajim peer (Bob) class OTRChannel(context.Context): diff --git a/plugin.py b/plugin.py index c040613..165c04e 100644 --- a/plugin.py +++ b/plugin.py @@ -20,7 +20,7 @@ import logging from gajim.plugins import GajimPlugin from gajim.common import app -from otrplugin.otr import OTR +from .otr import OTR class OTRPlugin(GajimPlugin): log = logging.getLogger('gajim.p.otr')