From cfb6062acb113e145f516b91c5af717c045db37a Mon Sep 17 00:00:00 2001 From: annelin Date: Mon, 24 Jun 2019 14:40:54 +0300 Subject: [PATCH] Bump version to 0.3 - Now will work with any name of directory that contains plugin. --- otr.py | 4 ++-- plugin.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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')