From bee1f3e2637c6e1a24e5609692682aba10788ef7 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 28 Nov 2020 04:09:59 -0500 Subject: [PATCH] fix lint errors --- archivebox/index/html.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/archivebox/index/html.py b/archivebox/index/html.py index c107bb3b..b793cea3 100644 --- a/archivebox/index/html.py +++ b/archivebox/index/html.py @@ -8,8 +8,6 @@ from pathlib import Path from django.utils.html import format_html from collections import defaultdict -from pathlib import Path - from .schema import Link from ..system import atomic_write from ..logging_util import printable_filesize @@ -150,7 +148,7 @@ def render_legacy_template(template_path: str, context: Mapping[str, str]) -> st def snapshot_icons(snapshot) -> str: - from core.models import Snapshot, EXTRACTORS + from core.models import EXTRACTORS archive_results = snapshot.archiveresult_set.filter(status="succeeded") link = snapshot.as_link()