diff options
| author | Richard Mathot <rim@odoo.com> | 2017-10-31 16:57:14 +0100 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2017-10-31 16:57:14 +0100 |
| commit | dafc3fb7928b3e1325d61060f7402fb148675347 (patch) | |
| tree | 17267f591f7abee0b1803b760e3adceae8e9fca7 /doc/_extensions/autojsdoc/parser/parser.py | |
| parent | fa9567063d208a02b4ad523f7759fd0f3791254b (diff) | |
[FIX] ir_qweb: prevent crash on guessing document type
`document` variable may not be a filepath; in this case, it can contain
non-ascii characters that crash os.path.exists.
We improve the heuristic in order to avoid this.
Diffstat (limited to 'doc/_extensions/autojsdoc/parser/parser.py')
0 files changed, 0 insertions, 0 deletions
