Fix assorted small typos: dead __str__, unformatted messages, preview min-height, tooltip

- processing.py: __str___ misspelled dunder never dispatched; rename to __str__
- demofusion.py: missing f-prefix printed literal {width}x{height} in user-facing error
- sparse_backend.py: missing f-prefix printed literal {size} in ValueError
- generation_parameters_copypaste.py: debug message typo 'Not not registered'
- progressBar.ts: live-preview gallery minHeight computed from naturalWidth; mirrors the adjacent maxHeight line (naturalHeight)
- settings.ts: stray } in settings-tab tooltip
This commit is contained in:
QualiaRain
2026-06-11 01:42:29 -04:00
parent e10b45d815
commit 148a7883a2
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ def connect_paste_params_buttons():
binding: ParamBinding
for binding in registered_param_bindings:
if binding.tabname not in paste_fields:
debug(f"Not not registered: tab={binding.tabname}")
debug(f"Not registered: tab={binding.tabname}")
continue
fields: list[tuple[gr.components.Component, str]] = paste_fields[binding.tabname]["fields"]
+1 -1
View File
@@ -125,7 +125,7 @@ class Processed:
def infotext(self, p: StableDiffusionProcessing, index):
return create_infotext(p, self.all_prompts, self.all_seeds, self.all_subseeds, comments=[], position_in_batch=index % self.batch_size, iteration=index // self.batch_size)
def __str___(self):
def __str__(self):
return f'{self.__class__.__name__}: {self.__dict__}'
+1 -1
View File
@@ -167,7 +167,7 @@ class Matrix(torch.nn.Module):
if column_indices.dtype == torch.int16:
if size[0] > max_dim or size[1] > max_dim:
raise ValueError(
"Sparse matrix with shape {size} exceeds representable "
f"Sparse matrix with shape {size} exceeds representable "
"size with 16-bit indices.")
def validate(self):