Commit c08335c9 authored by Aurel's avatar Aurel

fix bug at donwload of Business Template


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4678 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 01d36305
...@@ -251,7 +251,7 @@ class TemplateTool (BaseTool): ...@@ -251,7 +251,7 @@ class TemplateTool (BaseTool):
""" """
# For backward compatibility; If REQUEST is passed, it is likely from the management interface. # For backward compatibility; If REQUEST is passed, it is likely from the management interface.
if REQUEST is not None: if REQUEST is not None:
self.manage_download(url, id=id, REQUEST=REQUEST) return self.manage_download(url, id=id, REQUEST=REQUEST)
type, name = splittype(url) type, name = splittype(url)
if os.path.isdir(name): # new version of business template in plain format (folder) if os.path.isdir(name): # new version of business template in plain format (folder)
......
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