Skip to content

Commit

Permalink
✨ Expand the definition of template_type in targets section
Browse files Browse the repository at this point in the history
  • Loading branch information
ayan-b committed Mar 1, 2019
1 parent 131d3c6 commit 1954501
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion moban/mobanfile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ def handle_targets(merged_options, targets):
target.set_template_type(forced_template_type)

template_type = target.template_type
primary_template_type = plugins.ENGINES.get_primary_key(template_type)
primary_template_type = plugins.ENGINES.get_primary_key(
template_type
)
if primary_template_type is None:
primary_template_type = merged_options[
constants.LABEL_TEMPLATE_TYPE
Expand Down

0 comments on commit 1954501

Please sign in to comment.