mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-26 19:09:58 +00:00
Fix up string formatting/concatenation to f-strings where feasible
This commit is contained in:
@@ -16,7 +16,7 @@ for possible_sd_path in possible_sd_paths:
|
||||
sd_path = os.path.abspath(possible_sd_path)
|
||||
break
|
||||
|
||||
assert sd_path is not None, "Couldn't find Stable Diffusion in any of: " + str(possible_sd_paths)
|
||||
assert sd_path is not None, f"Couldn't find Stable Diffusion in any of: {possible_sd_paths}"
|
||||
|
||||
path_dirs = [
|
||||
(sd_path, 'ldm', 'Stable Diffusion', []),
|
||||
|
||||
Reference in New Issue
Block a user