Use module-relative imports

This commit is contained in:
Odd Stråbø 2021-10-10 20:38:25 +02:00
parent 086a704f24
commit 53c887d354
53 changed files with 166 additions and 195 deletions

View file

@ -14,6 +14,6 @@ class LazyLogger(object):
def __getattr__(self, name):
if self.__logger is None:
from helper.loghandler import getLogger
from .loghandler import getLogger
self.__logger = getLogger(self.__logger_name)
return getattr(self.__logger, name)