Skip to content

Commit

Permalink
Merge pull request #330 from HebaruSan/fix/resources-none
Browse files Browse the repository at this point in the history
Ensure ModStatus.resources isn't None
  • Loading branch information
HebaruSan authored Mar 16, 2024
2 parents 524a588 + b7ea5f0 commit b4660c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netkan/netkan/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Meta:
release_date = UTCDateTimeAttribute(null=True)
success = BooleanAttribute()
frozen = BooleanAttribute(default=False)
resources: 'MapAttribute[str, Any]' = MapAttribute()
resources: 'MapAttribute[str, Any]' = MapAttribute(default=dict)

def mod_attrs(self) -> Dict[str, Any]:
attributes = {}
Expand Down

0 comments on commit b4660c3

Please sign in to comment.