Skip to content

Commit

Permalink
...weird, scripts.basedir() suddenly started returning webUI director…
Browse files Browse the repository at this point in the history
…y instead of script dir... uncomment line 54 to verify
  • Loading branch information
zero01101 committed Jan 24, 2023
1 parent e11f28b commit 1ae78c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def started(demo, app: FastAPI):

def update_app():
git = os.environ.get('GIT', "git")
run(f'"{git}" -C "' + scripts.basedir() +
# print(scripts.basedir)
run(f'"{git}" -C "' + os.path.join(scripts.basedir(), usefulDirs[0], usefulDirs[1]) +
'" submodule update --init --recursive --remote')


Expand Down

0 comments on commit 1ae78c6

Please sign in to comment.