Commit e97cd28f authored by 's avatar

Merged fix for bug #1453: hard-coded unix path separator

parent 95e448cd
...@@ -104,8 +104,7 @@ class HTMLFile(DocumentTemplate.HTMLFile,MethodObject.Method,): ...@@ -104,8 +104,7 @@ class HTMLFile(DocumentTemplate.HTMLFile,MethodObject.Method,):
if _prefix is None: _prefix=SOFTWARE_HOME if _prefix is None: _prefix=SOFTWARE_HOME
elif type(_prefix) is not type(''): elif type(_prefix) is not type(''):
_prefix=Common.package_home(_prefix) _prefix=Common.package_home(_prefix)
args=(self, os.path.join(_prefix, name + '.dtml'))
args=(self, '%s/%s.dtml' % (_prefix,name))
if not kw.has_key('__name__'): kw['__name__']=name if not kw.has_key('__name__'): kw['__name__']=name
apply(HTMLFile.inheritedAttribute('__init__'),args,kw) apply(HTMLFile.inheritedAttribute('__init__'),args,kw)
......
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