reset 'archived' to False if no confirmation string

This commit is contained in:
David Lai 2021-09-12 23:22:42 +08:00
parent c234cb9079
commit 662e74816b

View file

@ -778,6 +778,10 @@ class ProjectSettings(RootEntity):
anatomy["attributes"]["archive_confirm"] = ""
anatomy["attributes"]["archived"] = False
else:
if anatomy and "attributes" in anatomy:
anatomy["attributes"]["archived"] = False
return output
def _save_studio_values(self):