diff --git a/seminar/utils.py b/seminar/utils.py index 20612a70..04c8d1c4 100644 --- a/seminar/utils.py +++ b/seminar/utils.py @@ -1,6 +1,5 @@ import datetime -from html.parser import HTMLParser from django import views as DjangoViews from django.contrib.contenttypes.models import ContentType @@ -14,17 +13,6 @@ import treenode.treelib as t logger = logging.getLogger(__name__) - -class FirstTagParser(HTMLParser): - def __init__(self, *args, **kwargs): - self.firstTag = None - super().__init__(*args, **kwargs) - - def handle_data(self, data): - if self.firstTag == None: - self.firstTag = data - - def histogram(seznam): d = {} for i in seznam: