Skip to content

Commit

Permalink
make if statement more constrained (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate authored Jan 5, 2024
1 parent 3265f5b commit 4d9e07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modelica_builder/package_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def new_from_template(cls,
PackageParser: object of the package parser
"""
klass = PackageParser(path)
if not mbl_version:
if within and not mbl_version:
template = klass.template_env.get_template("package.mot")
else:
template = klass.template_env.get_template("package_base.mot")
Expand Down

0 comments on commit 4d9e07b

Please sign in to comment.