fix(aurora): fixed a typeerror
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m11s

This commit is contained in:
Seaswimmer 2024-06-03 00:55:56 -04:00
parent 499cfbe8a9
commit 22f9ce52d1
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -218,7 +218,7 @@ class Moderation(AuroraGuildModel):
case = cls.from_result(bot=bot, result=result, guild_id=guild_id) case = cls.from_result(bot=bot, result=result, guild_id=guild_id)
if case.moderation_id != 0: if case.moderation_id != 0:
cases.append(case) cases.append(case)
return tuple(iterable=cases) return tuple(cases)
return () return ()
@classmethod @classmethod