Bonsai - handle invalid authorization None value in the header #5834

This commit is contained in:
Andrej730
2024-12-04 14:15:27 +05:00
parent eadf35f031
commit 7b09c9ad3b
@@ -593,7 +593,7 @@ class EnableEditingHeader(bpy.types.Operator):
if len(organisation) > 1:
props.organisation_email = organisation[1]
props.authorisation = self.file.wrapped_data.header.file_name.authorization
props.authorisation = self.file.wrapped_data.header.file_name.authorization or ""
return {"FINISHED"}