diff --git a/html/reference.json b/html/reference.json
index e4d8e0d4c..853608faa 100644
--- a/html/reference.json
+++ b/html/reference.json
@@ -202,7 +202,7 @@
"skip": true,
"extras": ""
},
-
+
"Ostris Flex.2 Preview": {
"path": "ostris/Flex.2-preview",
"preview": "ostris--Flex.2-preview.jpg",
diff --git a/modules/civitai/download_civitai.py b/modules/civitai/download_civitai.py
index 7e013454c..932f8ce7e 100644
--- a/modules/civitai/download_civitai.py
+++ b/modules/civitai/download_civitai.py
@@ -181,9 +181,8 @@ def download_civit_model_thread(model_name: str, model_url: str, model_path: str
def download_civit_model(model_url: str, model_name: str = '', model_path: str = '', model_type: str = '', token: str = None):
import threading
if model_url is None or len(model_url) == 0:
- err = 'Model download: no url provided'
- shared.log.error(err)
- return err
+ shared.log.error('Model download: no url provided')
+ return
thread = threading.Thread(target=download_civit_model_thread, args=(model_name, model_url, model_path, model_type, token))
thread.start()
thread.join()
diff --git a/modules/civitai/search_civitai.py b/modules/civitai/search_civitai.py
index 6f7bf8361..bb7601155 100644
--- a/modules/civitai/search_civitai.py
+++ b/modules/civitai/search_civitai.py
@@ -157,7 +157,7 @@ def search_civitai(
model_names = [model.name.lower()]
version_names = [v.name.lower() for v in model.versions]
file_names = [f.name.lower() for v in model.versions for f in v.files]
- if any([query.lower() in name for name in model_names + version_names + file_names]): # noqa: C419
+ if any([query.lower() in name for name in model_names + version_names + file_names]): # noqa: C419 # pylint: disable=use-a-generator
exact_models.append(model)
t1 = time.time()
diff --git a/modules/sd_checkpoint.py b/modules/sd_checkpoint.py
index 62f464946..0602c6996 100644
--- a/modules/sd_checkpoint.py
+++ b/modules/sd_checkpoint.py
@@ -189,7 +189,6 @@ def update_model_hashes():
ckpt.shorthash = ckpt.sha256[0:10] if ckpt.sha256 is not None else None
updated.append(ckpt)
yield update_model_hashes_table(updated)
- return
def remove_hash(s):