Commit 9284fc08 authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Ayush Tiwari

bt5_prototype: Use default for format_version parameter

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