diff --git a/modules/ui_extensions.py b/modules/ui_extensions.py
index 83557d7a003..fa831f5703e 100644
--- a/modules/ui_extensions.py
+++ b/modules/ui_extensions.py
@@ -177,7 +177,7 @@ def extension_table():
{remote} |
{ext.branch} |
{version_link} |
- {time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(ext.commit_date))} |
+ {datetime.fromtimestamp(ext.commit_date) if ext.commit_date else ""} |
{ext_status} |
"""
diff --git a/modules/ui_extra_networks_user_metadata.py b/modules/ui_extra_networks_user_metadata.py
index ae972fbb2fa..bfec140cc73 100644
--- a/modules/ui_extra_networks_user_metadata.py
+++ b/modules/ui_extra_networks_user_metadata.py
@@ -6,7 +6,6 @@
import gradio as gr
from modules import generation_parameters_copypaste, images, sysinfo, errors, ui_extra_networks
-from modules.paths_internal import models_path
class UserMetadataEditor: