summaryrefslogtreecommitdiff
path: root/mod.py
diff options
context:
space:
mode:
authorMia Herkt <mia@0x0.st>2022-12-22 09:44:32 +0100
committerMia Herkt <mia@0x0.st>2022-12-22 09:44:32 +0100
commit0e4f0206ab48b99dfb32a335a7accf60f8f494e1 (patch)
treeeaf39df7ff0f9cd7be512a9cd87c4a511d4d9fa4 /mod.py
parent53249df28d61c8802d315ff422c0a1bcfb455881 (diff)
ModUI: Fix jinja2 func call in ban action
Diffstat (limited to 'mod.py')
-rwxr-xr-xmod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod.py b/mod.py
index ffd6dc0..4ef3ced 100755
--- a/mod.py
+++ b/mod.py
@@ -106,7 +106,7 @@ class NullptrMod(Screen):
trm += 1
f.delete(True)
db.session.commit()
- txt += f", removed {trm} {'files' if trm != 1 else 'file'} totaling {jinja2.filters.do_filesizeformat(tsize, True)}"
+ txt += f", removed {trm} {'files' if trm != 1 else 'file'} totaling {do_filesizeformat(tsize, True)}"
self.mount(Notification(txt))
self._refresh_layout()
ftable = self.query_one("#ftable")