Skip to content

Commit

Permalink
[FIX] project
Browse files Browse the repository at this point in the history
  • Loading branch information
archetipo committed Nov 13, 2024
1 parent 8e3b8a4 commit 866a8dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web-client/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
logger = logging.getLogger(__name__)

sys.path.append(pathlib.Path(__file__).parent.resolve())

for name_app in get_settings().depends:
_settings = get_settings()
logger.info(f" install APP: {_settings.module_name}")
for name_app in _settings.depends:
try:
logger.info(f"import app: {name_app}")
sys.path.append(name_app)
Expand Down

0 comments on commit 866a8dd

Please sign in to comment.