diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-05-15 10:30:00 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-05-15 10:30:00 +0200 |
| commit | 16ea25646e2a9cbfdbdd9c640508533efa0df324 (patch) | |
| tree | 5dbf280557deb155fa1c06f6c4a8a55ae7a7e320 /addons/document_webdav/webdav_server.py | |
| parent | a027590d6eca9b65c2fdfe5a2509137e839e42ff (diff) | |
| parent | b5b6dfbbf0e3defc9a823ddb7ecc8aaeb9f07c0b (diff) | |
[MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130515083000-3b033tyihxmubykh
Diffstat (limited to 'addons/document_webdav/webdav_server.py')
| -rw-r--r-- | addons/document_webdav/webdav_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_webdav/webdav_server.py b/addons/document_webdav/webdav_server.py index 1804b9bfdb2..f67de272e29 100644 --- a/addons/document_webdav/webdav_server.py +++ b/addons/document_webdav/webdav_server.py @@ -608,7 +608,7 @@ try: if base_path and base_path == '/': dir_path = config.get_misc('static-http', 'dir_path', False) else: - dir_path = openerp.addons.get_module_resource('document_webdav','public_html') + dir_path = openerp.modules.module.get_module_resource('document_webdav','public_html') # an _ugly_ hack: we put that dir back in tools.config.misc, so that # the StaticHttpHandler can find its dir_path. config.misc.setdefault('static-http',{})['dir_path'] = dir_path |
