mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
remove redundant utils file
This commit is contained in:
parent
84507b68b5
commit
104553489f
5 changed files with 64 additions and 62 deletions
|
@ -13,8 +13,8 @@ from django import forms
|
|||
|
||||
from core.models import Snapshot, Tag
|
||||
from core.forms import AddLinkForm, TagField
|
||||
from core.utils import get_icons
|
||||
|
||||
from index.html import snapshot_icons
|
||||
from util import htmldecode, urldecode, ansi_to_html
|
||||
from logging_util import printable_filesize
|
||||
from main import add, remove
|
||||
|
@ -128,7 +128,7 @@ class SnapshotAdmin(admin.ModelAdmin):
|
|||
) + mark_safe(f' <span class="tags">{tags}</span>')
|
||||
|
||||
def files(self, obj):
|
||||
return get_icons(obj)
|
||||
return snapshot_icons(obj)
|
||||
|
||||
def size(self, obj):
|
||||
archive_size = obj.archive_size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue