From 0e4f0206ab48b99dfb32a335a7accf60f8f494e1 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Thu, 22 Dec 2022 09:44:32 +0100 Subject: [PATCH] ModUI: Fix jinja2 func call in ban action --- mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")