From ee5658946873a1b1ad7a42a53b19f07982937fc2 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 9 Aug 2018 00:56:28 +0200 Subject: Fix some absolute imports --- plugins/code.py | 2 +- plugins/white.py | 4 ++-- 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 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): -- cgit v1.2.3