fix(aurora): fixed another typeerror

This commit is contained in:
Seaswimmer 2024-05-24 03:53:38 -04:00
parent 51d3245703
commit 797fd561c9
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -173,6 +173,7 @@ class Moderation(AuroraGuildModel):
if result[14] is not None: if result[14] is not None:
changes = json.loads(result[14]) changes = json.loads(result[14])
change_obj_list = [] change_obj_list = []
if changes:
for change in changes: for change in changes:
change_obj_list.append(Change.from_dict(bot=bot, data=change)) change_obj_list.append(Change.from_dict(bot=bot, data=change))