chiark / gitweb /
m.filesize: minor cleanup.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 5 May 2019 14:26:35 +0000 (16:26 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 21 May 2019 12:42:12 +0000 (14:42 +0200)
plugins/m/filesize.py

index ef4497202ac086b8f154ef00bb5cc61a1df16ae6..c23d17df34d41e9598901aa5eb1cc5ad59f9e044 100644 (file)
@@ -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