From ea9d8b23234c5b1bb290abdddee6574908642d63 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sat, 2 Aug 2025 19:27:07 -0400 Subject: [PATCH] lint Signed-off-by: Vladimir Mandic --- CHANGELOG.md | 2 +- TODO.md | 1 - extensions-builtin/sdnext-modernui | 2 +- modules/models_civitai.py | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b7dab10f..d64f78db5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log for SD.Next -## Update for 2025-08-01 +## Update for 2025-08-02 - **Models** - [FLUX.1-Krea-Dev](https://www.krea.ai/blog/flux-krea-open-source-release) diff --git a/TODO.md b/TODO.md index f5641822c..31ca627d4 100644 --- a/TODO.md +++ b/TODO.md @@ -33,7 +33,6 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma - Extensions tab: - full CSS redesign - Models tab: - - Metadata subtab: replace table with custom html - CivitAI subtab: redesign downloader ### Under Consideration diff --git a/extensions-builtin/sdnext-modernui b/extensions-builtin/sdnext-modernui index 95b8f72f0..9903b0395 160000 --- a/extensions-builtin/sdnext-modernui +++ b/extensions-builtin/sdnext-modernui @@ -1 +1 @@ -Subproject commit 95b8f72f0683a08c98f0c24ae418138b964751b5 +Subproject commit 9903b0395f5119dcbca6379a4e34887c9154d782 diff --git a/modules/models_civitai.py b/modules/models_civitai.py index 15fc58011..6f86eba77 100644 --- a/modules/models_civitai.py +++ b/modules/models_civitai.py @@ -225,7 +225,7 @@ def civit_download_model(model_url: str, model_name: str, model_path: str, model def atomic_civit_search_metadata(item, results): from modules.modelloader import download_civit_preview, download_civit_meta if item is None: - return results + return meta = os.path.splitext(item['filename'])[0] + '.json' has_meta = os.path.isfile(meta) and os.stat(meta).st_size > 0 if ('card-no-preview.png' in item['preview'] or not has_meta) and os.path.isfile(item['filename']):