aboutsummaryrefslogtreecommitdiff
path: root/modules/paths_internal.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-13 16:05:55 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-13 16:05:55 +0900
commit5b761b49ade392eb8ff4c54ab1841b63475b5dd0 (patch)
treed427f8f5d56decc5071d6655f548c1c88f0cbf97 /modules/paths_internal.py
parent6fb2194d9cc2c9b52bc2006117d592283e00b7d6 (diff)
correct webpath when webui_dir is not work_dir
Diffstat (limited to 'modules/paths_internal.py')
-rw-r--r--modules/paths_internal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/paths_internal.py b/modules/paths_internal.py
index 005a9b0a..89131a54 100644
--- a/modules/paths_internal.py
+++ b/modules/paths_internal.py
@@ -8,6 +8,7 @@ import shlex
commandline_args = os.environ.get('COMMANDLINE_ARGS', "")
sys.argv += shlex.split(commandline_args)
+cwd = os.getcwd()
modules_path = os.path.dirname(os.path.realpath(__file__))
script_path = os.path.dirname(modules_path)