fix: adapter.py absolute Imports → relative (P0: Onboarding crash im Live-Deploy)
This commit is contained in:
+4
-4
@@ -3889,7 +3889,7 @@ class RocketChatAdapter(BasePlatformAdapter):
|
||||
|
||||
# Sub-Phase: User gibt Pfad ein (für Option 2 oder 3)
|
||||
if fakt_sub_phase in ("new_path", "existing_path"):
|
||||
from plugin.archivar.onboarding import (
|
||||
from .archivar.onboarding import (
|
||||
validate_fact_store_path,
|
||||
create_and_verify_fact_store,
|
||||
verify_existing_fact_store,
|
||||
@@ -3933,7 +3933,7 @@ class RocketChatAdapter(BasePlatformAdapter):
|
||||
if self.archivar._doc_store is not None:
|
||||
self.archivar._doc_store.set_base_dir(PathLib(norm_path))
|
||||
else:
|
||||
from plugin.archivar.doc_store import DocumentationStore
|
||||
from .archivar.doc_store import DocumentationStore
|
||||
self.archivar._doc_store = DocumentationStore(base_dir=PathLib(norm_path))
|
||||
|
||||
logger.info(
|
||||
@@ -3958,7 +3958,7 @@ class RocketChatAdapter(BasePlatformAdapter):
|
||||
else:
|
||||
choice = single_line
|
||||
|
||||
from plugin.archivar.onboarding import (
|
||||
from .archivar.onboarding import (
|
||||
validate_fact_store_path,
|
||||
create_and_verify_fact_store,
|
||||
get_default_fact_store_path,
|
||||
@@ -3990,7 +3990,7 @@ class RocketChatAdapter(BasePlatformAdapter):
|
||||
if self.archivar._doc_store is not None:
|
||||
self.archivar._doc_store.set_base_dir(PathLib(default_path))
|
||||
else:
|
||||
from plugin.archivar.doc_store import DocumentationStore
|
||||
from .archivar.doc_store import DocumentationStore
|
||||
self.archivar._doc_store = DocumentationStore(base_dir=PathLib(default_path))
|
||||
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user