Commit cf041c7e authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Fix bug in import script

parent 91f031f5
...@@ -393,7 +393,7 @@ def generate_translation_dict(model, version): ...@@ -393,7 +393,7 @@ def generate_translation_dict(model, version):
"model_5_ptm", "model_5_ptm",
] ]
if version in no_templ: if version not in no_templ:
tps_blocks = model.template_pair_stack.blocks tps_blocks = model.template_pair_stack.blocks
tps_blocks_params = stacked( tps_blocks_params = stacked(
[TemplatePairBlockParams(b) for b in tps_blocks] [TemplatePairBlockParams(b) for b in tps_blocks]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment