Skip to content

Commit 1ae78c6

Browse files
committed
...weird, scripts.basedir() suddenly started returning webUI directory instead of script dir... uncomment line 54 to verify
1 parent e11f28b commit 1ae78c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def started(demo, app: FastAPI):
5151

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

5758

0 commit comments

Comments
 (0)