Rename template file to avoid confusing black or other build tools

This commit is contained in:
Nat Noordanus
2020-05-27 10:56:52 +02:00
parent be2a24d15c
commit cd1c2dc3b5
3 changed files with 2 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ def generate_code(request, response):
lstrip_blocks=True,
loader=jinja2.FileSystemLoader("%s/templates/" % os.path.dirname(__file__)),
)
template = env.get_template("template.py")
template = env.get_template("template.py.j2")
output_map = {}
for proto_file in request.proto_file: