fix(moderation): actually fixed duration importing
This commit is contained in:
parent
a6bbeaace6
commit
0069312f43
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue