summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-08-09 00:56:28 +0200
committermathieui <mathieui@mathieui.net>2018-08-09 00:56:28 +0200
commitee5658946873a1b1ad7a42a53b19f07982937fc2 (patch)
tree5d7d112f80e998ba02b1dff5b50d499bb14df208 /plugins
parent53ea677bad481a7140de8cf718796790f5927af4 (diff)
downloadpoezio-ee5658946873a1b1ad7a42a53b19f07982937fc2.tar.gz
poezio-ee5658946873a1b1ad7a42a53b19f07982937fc2.tar.bz2
poezio-ee5658946873a1b1ad7a42a53b19f07982937fc2.tar.xz
poezio-ee5658946873a1b1ad7a42a53b19f07982937fc2.zip
Fix some absolute imports
Diffstat (limited to 'plugins')
-rw-r--r--plugins/code.py2
-rw-r--r--plugins/white.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/code.py b/plugins/code.py
index ef4cbb70..69fc79ec 100644
--- a/plugins/code.py
+++ b/plugins/code.py
@@ -23,7 +23,7 @@ Usage
using pygments’s <language> lexer.
"""
-from plugin import BasePlugin
+from poezio.plugin import BasePlugin
from pygments import highlight
from pygments.lexers import get_lexer_by_name
diff --git a/plugins/white.py b/plugins/white.py
index 1fc8cf76..bb28c512 100644
--- a/plugins/white.py
+++ b/plugins/white.py
@@ -14,8 +14,8 @@ Usage
assuming everyone is using a white background. Black backgrounds matter too!
"""
-from plugin import BasePlugin
-import xhtml
+from poezio.plugin import BasePlugin
+from poezio import xhtml
class Plugin(BasePlugin):
def init(self):