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
563d0487
Commit
563d0487
authored
Mar 29, 2023
by
space-nuko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Squelch warning if no config restore
parent
1c0544ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
webui.py
webui.py
+2
-2
No files found.
webui.py
View file @
563d0487
...
@@ -116,7 +116,7 @@ def initialize():
...
@@ -116,7 +116,7 @@ def initialize():
config_state
=
json
.
load
(
f
)
config_state
=
json
.
load
(
f
)
config_states
.
restore_extension_config
(
config_state
)
config_states
.
restore_extension_config
(
config_state
)
startup_timer
.
record
(
"restore extension config"
)
startup_timer
.
record
(
"restore extension config"
)
el
s
e
:
el
if
config_state_fil
e
:
print
(
f
"!!! Config state backup not found: {config_state_file}"
)
print
(
f
"!!! Config state backup not found: {config_state_file}"
)
if
cmd_opts
.
ui_debug_mode
:
if
cmd_opts
.
ui_debug_mode
:
...
@@ -325,7 +325,7 @@ def webui():
...
@@ -325,7 +325,7 @@ def webui():
config_state
=
json
.
load
(
f
)
config_state
=
json
.
load
(
f
)
config_states
.
restore_extension_config
(
config_state
)
config_states
.
restore_extension_config
(
config_state
)
startup_timer
.
record
(
"restore extension config"
)
startup_timer
.
record
(
"restore extension config"
)
el
s
e
:
el
if
config_state_fil
e
:
print
(
f
"!!! Config state backup not found: {config_state_file}"
)
print
(
f
"!!! Config state backup not found: {config_state_file}"
)
localization
.
list_localizations
(
cmd_opts
.
localizations_dir
)
localization
.
list_localizations
(
cmd_opts
.
localizations_dir
)
...
...
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