diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-01-28 09:24:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-28 09:24:40 +0300 |
commit | ce72af87d3b05c946bc82033786fc340f1c20512 (patch) | |
tree | e02a69bc9b18f36db76590bd6312320685901b5e /modules/ui_extensions.py | |
parent | 0834d4ce374225131e025540220c727e352a3e43 (diff) | |
parent | 23a9d5e27390846dea0895a02c04aec9583a4d38 (diff) |
Merge pull request #7199 from maxaudron/feature/configurable-data-dir
Add flag to store user data sepperate from source code
Diffstat (limited to 'modules/ui_extensions.py')
-rw-r--r-- | modules/ui_extensions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_extensions.py b/modules/ui_extensions.py index 742e745e..66a41865 100644 --- a/modules/ui_extensions.py +++ b/modules/ui_extensions.py @@ -132,7 +132,7 @@ def install_extension_from_url(dirname, url): normalized_url = normalize_git_url(url)
assert len([x for x in extensions.extensions if normalize_git_url(x.remote) == normalized_url]) == 0, 'Extension with this URL is already installed'
- tmpdir = os.path.join(paths.script_path, "tmp", dirname)
+ tmpdir = os.path.join(paths.data_path, "tmp", dirname)
try:
shutil.rmtree(tmpdir, True)
|