Add missing absolute imports
This commit is contained in:
parent
50d3d01ea3
commit
2e9600c71f
@ -48,7 +48,7 @@ import vobject
|
|||||||
|
|
||||||
if sys.version_info >= (3, 5):
|
if sys.version_info >= (3, 5):
|
||||||
# HACK: Avoid import cycle for Python < 3.5
|
# HACK: Avoid import cycle for Python < 3.5
|
||||||
from . import xmlutils
|
from radicale import xmlutils
|
||||||
|
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
import ctypes
|
import ctypes
|
||||||
@ -97,7 +97,7 @@ def load(configuration, logger):
|
|||||||
if sys.version_info < (3, 5):
|
if sys.version_info < (3, 5):
|
||||||
# HACK: Avoid import cycle for Python < 3.5
|
# HACK: Avoid import cycle for Python < 3.5
|
||||||
global xmlutils
|
global xmlutils
|
||||||
from . import xmlutils
|
from radicale import xmlutils
|
||||||
storage_type = configuration.get("storage", "type")
|
storage_type = configuration.get("storage", "type")
|
||||||
if storage_type == "multifilesystem":
|
if storage_type == "multifilesystem":
|
||||||
collection_class = Collection
|
collection_class = Collection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user