Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
b9a66b02
Commit
b9a66b02
authored
Mar 19, 2023
by
nonnonstop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem of install.py when data-dir is specified
parent
a9fed7c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
launch.py
launch.py
+2
-2
No files found.
launch.py
View file @
b9a66b02
...
...
@@ -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
(
d
ata_path
,
d
ir_extensions
,
dirname_extension
))
def
prepare_environment
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment