diff --git a/plinth/actions.py b/plinth/actions.py index 083dd520c..7613ea7c5 100644 --- a/plinth/actions.py +++ b/plinth/actions.py @@ -78,8 +78,8 @@ import os import pipes import subprocess -import cfg -from errors import ActionError +from plinth import cfg +from plinth.errors import ActionError LOGGER = logging.getLogger(__name__) diff --git a/plinth/context_processors.py b/plinth/context_processors.py index 087158953..920b90175 100644 --- a/plinth/context_processors.py +++ b/plinth/context_processors.py @@ -20,7 +20,8 @@ Django context processors to provide common data to templates. """ import re -import cfg + +from plinth import cfg def common(request): diff --git a/plinth/modules/system/__init__.py b/plinth/modules/system/__init__.py index 1d9349bb0..ec0f9e62d 100644 --- a/plinth/modules/system/__init__.py +++ b/plinth/modules/system/__init__.py @@ -20,7 +20,7 @@ Plinth module for system section page """ from . import system -from system import init +from .system import init __all__ = ['system', 'init']