fix(moderation): actually fixed duration importing
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 45s

This commit is contained in:
Seaswimmer 2023-12-18 16:47:10 -05:00
parent a6bbeaace6
commit 0069312f43
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -76,6 +76,8 @@ class ImportModerationView(ui.View):
minutes=duration_t.minutes, minutes=duration_t.minutes,
seconds=duration_t.seconds seconds=duration_t.seconds
) )
else:
duration = 'NULL'
await mysql_log( await mysql_log(
self.ctx.guild.id, self.ctx.guild.id,