aboutsummaryrefslogtreecommitdiff
path: root/modules/paths.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-05-09 22:40:51 +0300
committerGitHub <noreply@github.com>2023-05-09 22:40:51 +0300
commitd6a9b22c195a0b4b9c6b04ccdfc59c18d099da7a (patch)
tree894f00b92caa229dbfaa2d07c16c25e0167412db /modules/paths.py
parentccbb361845bfabfa3fc2c77bb234ea4be0781dd9 (diff)
parent3ba6c3c83c0983a025c7bddc08bb7f49481b3cbb (diff)
Merge pull request #10232 from akx/eff
Fix up string formatting/concatenation to f-strings where feasible
Diffstat (limited to 'modules/paths.py')
-rw-r--r--modules/paths.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/paths.py b/modules/paths.py
index 0e1e00e7..acf1894b 100644
--- a/modules/paths.py
+++ b/modules/paths.py
@@ -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', []),