aboutsummaryrefslogtreecommitdiffstats
path: root/launch.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-03-25 09:08:24 +0000
committerGitHub <noreply@github.com>2023-03-25 09:08:24 +0000
commit8dbe793af53194ff3054bfbc9529a10f961bdbd3 (patch)
tree087f31c96c6b0280c75cfca4380638cde72ff90e /launch.py
parent8e3ced73a8c8f435809de544e0574da265177289 (diff)
parent70615448b2ef3285dba9bb1992974cb1eaf10995 (diff)
downloadstable-diffusion-webui-gfx803-8dbe793af53194ff3054bfbc9529a10f961bdbd3.tar.gz
stable-diffusion-webui-gfx803-8dbe793af53194ff3054bfbc9529a10f961bdbd3.tar.bz2
stable-diffusion-webui-gfx803-8dbe793af53194ff3054bfbc9529a10f961bdbd3.zip
Merge branch 'master' into extra-network-info
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/launch.py b/launch.py
index b943fed2..95311d33 100644
--- a/launch.py
+++ b/launch.py
@@ -14,7 +14,7 @@ parser.add_argument("--data-dir", type=str, default=os.path.dirname(os.path.real
args, _ = parser.parse_known_args(sys.argv)
script_path = os.path.dirname(__file__)
-data_path = os.getcwd()
+data_path = args.data_dir
dir_repos = "repositories"
dir_extensions = "extensions"
@@ -231,7 +231,7 @@ def run_extensions_installers(settings_file):
return
for dirname_extension in list_extensions(settings_file):
- run_extension_installer(os.path.join(dir_extensions, dirname_extension))
+ run_extension_installer(os.path.join(data_path, dir_extensions, dirname_extension))
def prepare_environment():