Commit 89533b10 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_prototype: Use default for format_version parameter

parent 24c790e8
......@@ -325,7 +325,7 @@ class TemplateTool (BaseTool):
REQUEST.RESPONSE.redirect("%s?portal_status_message=%s"
% (ret_url, psm))
def _download_local(self, path, bt_id, format_version):
def _download_local(self, path, bt_id, format_version=1):
"""Download Business Template from local directory or file
"""
if format_version == 2:
......
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