chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c3878d
)
m.filesize: minor cleanup.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 5 May 2019 14:26:35 +0000
(16:26 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Tue, 21 May 2019 12:42:12 +0000
(14:42 +0200)
plugins/m/filesize.py
patch
|
blob
|
history
diff --git
a/plugins/m/filesize.py
b/plugins/m/filesize.py
index ef4497202ac086b8f154ef00bb5cc61a1df16ae6..c23d17df34d41e9598901aa5eb1cc5ad59f9e044 100644
(file)
--- a/
plugins/m/filesize.py
+++ b/
plugins/m/filesize.py
@@
-33,7
+33,6
@@
settings = {}
def init(pelicanobj):
settings['path'] = pelicanobj.settings.get('PATH', 'content')
- pass
def filesize(name, rawtext, text, lineno, inliner, options={}, content=[]):
# Support both {filename} (3.7.1) and {static} (3.8) placeholders