fix(moderation): actually fixed duration importing

This commit is contained in:
Seaswimmer 2023-12-18 16:47:10 -05:00
parent a6bbeaace6
commit 0069312f43
Signed by untrusted user: 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,