fix lint for shared module import

This commit is contained in:
Yifan Chen
2026-09-08 22:33:23 -07:00
parent a174e94183
commit 37767b3bbc
+1 -1
View File
@@ -303,7 +303,7 @@ def connect_paste(button, local_paste_fields, input_comp, override_settings_comp
applied[key] = v
continue
if getattr(output, 'elem_id', '').endswith('_resize_name') and isinstance(v, str):
from modules import modelloader, shared, ui_sections
from modules import modelloader, ui_sections
modelloader.load_upscalers()
choices = [upscaler.name for upscaler in shared.sd_upscalers]
if output.elem_id.startswith(('control_after', 'control_mask')):