fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make sure Pillow uses ImageFont.LAYOUT_BASIC because of https://github.com/python...
[librarian.git]
/
src
/
librarian
/
elements
/
themes
/
motyw.py
1
from ..base import WLElement
2
3
4
class Motyw(WLElement):
5
HTML_TAG = "a"
6
7
def txt_build(self, builder):
8
pass
9
10
def get_html_attr(self, builder):
11
fid = self.attrib['id'][1:]
12
return {
13
"class": "theme-begin",
14
"fid": fid,
15
"name": "m" + fid,
16
}