aboutsummaryrefslogtreecommitdiff
path: root/modules/ui_extensions.py
diff options
context:
space:
mode:
authorspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-03-28 10:59:12 -0400
committerGitHub <noreply@github.com>2023-03-28 10:59:12 -0400
commit4414d36bf6e4f64cb6eac871c89c2e0daa4c5338 (patch)
treef35f4205328d275427781cdef145ae12014a6ad4 /modules/ui_extensions.py
parentc5f9f7c23759f9a74fa2b563451569c8926604ba (diff)
parent955df7751eef11bb7697e2d77f6b8a6226b21e13 (diff)
Merge branch 'master' into img2img-enhance
Diffstat (limited to 'modules/ui_extensions.py')
-rw-r--r--modules/ui_extensions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/ui_extensions.py b/modules/ui_extensions.py
index da7e79f0..b4a0d6ec 100644
--- a/modules/ui_extensions.py
+++ b/modules/ui_extensions.py
@@ -63,6 +63,9 @@ def check_updates(id_task, disable_list):
try:
ext.check_updates()
+ except FileNotFoundError as e:
+ if 'FETCH_HEAD' not in str(e):
+ raise
except Exception:
print(f"Error checking updates for {ext.name}:", file=sys.stderr)
print(traceback.format_exc(), file=sys.stderr)
@@ -87,6 +90,8 @@ def extension_table():
"""
for ext in extensions.extensions:
+ ext.read_info_from_repo()
+
remote = f"""<a href="{html.escape(ext.remote or '')}" target="_blank">{html.escape("built-in" if ext.is_builtin else ext.remote or '')}</a>"""
if ext.can_update: