Drop lots of legacy code. Support Python 3.7-3.11.
[librarian.git] / src / librarian / elements / themes / end.py
1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
3 #
4 from ..base import WLElement
5
6
7 class End(WLElement):
8     HTML_TAG = 'span'
9
10     def get_html_attr(self, builder):
11         fid = self.attrib.get('id', '')[1:]
12         return {
13             "class": "theme-end",
14             "fid": fid
15         }