mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
always store all data even if are set to None
This commit is contained in:
parent
eeb839a65c
commit
bc433532f0
1 changed files with 3 additions and 7 deletions
|
|
@ -586,13 +586,9 @@ def _create_workfile_info_entity(
|
|||
attrib[key] = value
|
||||
|
||||
data = {
|
||||
key: value
|
||||
for key, value in (
|
||||
("host_name", host_name),
|
||||
("version", version),
|
||||
("comment", comment),
|
||||
)
|
||||
if value is not None
|
||||
"host_name": host_name,
|
||||
"version": version,
|
||||
"comment": comment,
|
||||
}
|
||||
|
||||
workfile_info = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue