[FIX] CSS paths adaptation when running openerp-web (python side) in Windows
lp bug: https://launchpad.net/bugs/920938 fixed bzr revid: xmo@openerp.com-20120127113033-5jb9bcfothcd30ly
This commit is contained in:
parent
bc2823b926
commit
c5c224752f
|
@ -164,8 +164,9 @@ class WebClient(openerpweb.Controller):
|
|||
with open(f) as fp:
|
||||
data = fp.read()
|
||||
|
||||
web_path = file_map[f]
|
||||
web_dir = os.path.dirname(web_path)
|
||||
path = file_map[f]
|
||||
# convert FS path into web path
|
||||
web_dir = '/'.join(os.path.dirname(path).split(os.path.sep))
|
||||
|
||||
data = re.sub(
|
||||
rx_import,
|
||||
|
|
Loading…
Reference in New Issue