From 6a1bd5f9b90354f670a53b240a226f598ccf3170 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 27 Jun 2016 23:38:58 +0100 Subject: Make all relative imports explicit. --- poezio/plugin_manager.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'poezio/plugin_manager.py') diff --git a/poezio/plugin_manager.py b/poezio/plugin_manager.py index d7097de0..ee587816 100644 --- a/poezio/plugin_manager.py +++ b/poezio/plugin_manager.py @@ -9,10 +9,10 @@ import os from os import path import logging -import core -import tabs -from plugin import PluginAPI -from config import config +from . import core +from . import tabs +from . plugin import PluginAPI +from . config import config log = logging.getLogger(__name__) @@ -375,7 +375,7 @@ class PluginManager(object): self.load_path.append(self.plugins_dir) try: - import poezio_plugins + from . import poezio_plugins except: pass else: -- cgit v1.2.3