components: correct imports

All imports must now be relative to work correctly with the
moonraker parent package.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan
2022-10-18 10:31:41 -04:00
parent b9a17e07e9
commit 0f8638fec7
38 changed files with 135 additions and 146 deletions

View File

@@ -9,7 +9,7 @@ from . import update_manager as um
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from confighelper import ConfigHelper
from ...confighelper import ConfigHelper
def load_component(config: ConfigHelper) -> um.UpdateManager:
return um.load_component(config)