Skip to content

Commit

Permalink
Fix template loader
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitConnan committed Feb 23, 2022
1 parent 9f656f9 commit 11ff13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpype/hosts/photoshop/api/template_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def convert_to_db_filters(self, current_asset, linked_asset):
"context.task.name": self.data.get('op_task_name')
}

filter_base = {key: value for key, value in filter_base.items()
if value is not None}
filter_base = {key: value for key, value
in filter_base.items() if value}

if self.data['builder_type'] == "context_asset":
return [dict({
Expand Down

0 comments on commit 11ff13b

Please sign in to comment.