mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Fix crash due to null dev_state
This commit is contained in:
parent
e3ed5fbc58
commit
4d37f53a04
@ -492,7 +492,7 @@ class Package(db.Model):
|
||||
"maintainers": [x.username for x in self.maintainers],
|
||||
|
||||
"state": self.state.name,
|
||||
"dev_state": self.dev_state.name,
|
||||
"dev_state": self.dev_state.name if self.dev_state else None,
|
||||
|
||||
"name": self.name,
|
||||
"title": self.title,
|
||||
|
Loading…
Reference in New Issue
Block a user