fix: adapter.py absolute Imports → relative (P0: Onboarding crash im Live-Deploy)

This commit is contained in:
Bernd (Hermes)
2026-07-19 19:00:56 +02:00
parent 66c4f7f2d1
commit d69164297e
+4 -4
View File
@@ -3889,7 +3889,7 @@ class RocketChatAdapter(BasePlatformAdapter):
# Sub-Phase: User gibt Pfad ein (für Option 2 oder 3) # Sub-Phase: User gibt Pfad ein (für Option 2 oder 3)
if fakt_sub_phase in ("new_path", "existing_path"): if fakt_sub_phase in ("new_path", "existing_path"):
from plugin.archivar.onboarding import ( from .archivar.onboarding import (
validate_fact_store_path, validate_fact_store_path,
create_and_verify_fact_store, create_and_verify_fact_store,
verify_existing_fact_store, verify_existing_fact_store,
@@ -3933,7 +3933,7 @@ class RocketChatAdapter(BasePlatformAdapter):
if self.archivar._doc_store is not None: if self.archivar._doc_store is not None:
self.archivar._doc_store.set_base_dir(PathLib(norm_path)) self.archivar._doc_store.set_base_dir(PathLib(norm_path))
else: else:
from plugin.archivar.doc_store import DocumentationStore from .archivar.doc_store import DocumentationStore
self.archivar._doc_store = DocumentationStore(base_dir=PathLib(norm_path)) self.archivar._doc_store = DocumentationStore(base_dir=PathLib(norm_path))
logger.info( logger.info(
@@ -3958,7 +3958,7 @@ class RocketChatAdapter(BasePlatformAdapter):
else: else:
choice = single_line choice = single_line
from plugin.archivar.onboarding import ( from .archivar.onboarding import (
validate_fact_store_path, validate_fact_store_path,
create_and_verify_fact_store, create_and_verify_fact_store,
get_default_fact_store_path, get_default_fact_store_path,
@@ -3990,7 +3990,7 @@ class RocketChatAdapter(BasePlatformAdapter):
if self.archivar._doc_store is not None: if self.archivar._doc_store is not None:
self.archivar._doc_store.set_base_dir(PathLib(default_path)) self.archivar._doc_store.set_base_dir(PathLib(default_path))
else: else:
from plugin.archivar.doc_store import DocumentationStore from .archivar.doc_store import DocumentationStore
self.archivar._doc_store = DocumentationStore(base_dir=PathLib(default_path)) self.archivar._doc_store = DocumentationStore(base_dir=PathLib(default_path))
logger.info( logger.info(