From 76ff78916433b3556657a00af64650e2cf888bac Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 1 Mar 2021 00:40:41 -0500 Subject: [PATCH] fix tags page rendering when snapshot has no updated timestamp --- archivebox/core/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/core/admin.py b/archivebox/core/admin.py index c849bb63..4dbc2ff7 100644 --- a/archivebox/core/admin.py +++ b/archivebox/core/admin.py @@ -258,7 +258,7 @@ class TagAdmin(admin.ModelAdmin): return mark_safe('
'.join( format_html( '{} [{}] {}', - snap.updated.strftime('%Y-%m-%d %H:%M'), + snap.updated.strftime('%Y-%m-%d %H:%M') if snap.updated else 'pending...', snap.id, snap.timestamp, snap.url,