mirror of
https://git.0x0.st/mia/0x0.git
synced 2024-11-09 03:38:59 -05:00
ModUI: Fix jinja2 func call in ban action
This commit is contained in:
parent
53249df28d
commit
0e4f0206ab
1 changed files with 1 additions and 1 deletions
2
mod.py
2
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")
|
||||
|
|
Loading…
Reference in a new issue