mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 20:33:06 -08:00
fix shadows name 'k' from outer scope
while syntactically correct this triggers a false Unresolved reference 'k' error in PyCharms
This commit is contained in:
parent
fc54833505
commit
dc34c0041c
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ class UiSettings:
|
|||
|
||||
for method in methods:
|
||||
method(
|
||||
fn=lambda value, k=k: self.run_settings_single(value, key=k),
|
||||
fn=lambda value, key=k: self.run_settings_single(value, key=key),
|
||||
inputs=[component],
|
||||
outputs=[component, self.text_settings],
|
||||
show_progress=info.refresh is not None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue