From 90fb363ce069d85e153c483d15e47533b058a579 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 8 Jun 2021 15:56:30 +0200 Subject: [PATCH] allow to pass list of lists or dict to prepare_template_data --- openpype/lib/plugin_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpype/lib/plugin_tools.py b/openpype/lib/plugin_tools.py index a5254af0da..b27830f048 100644 --- a/openpype/lib/plugin_tools.py +++ b/openpype/lib/plugin_tools.py @@ -91,7 +91,7 @@ def prepare_template_data(fill_pairs): """ fill_data = {} - for key, value in fill_pairs: + for key, value in dict(fill_pairs).items(): # Handle cases when value is `None` (standalone publisher) if value is None: continue