diff options
| author | Olivier Dony <odo@openerp.com> | 2016-03-31 12:44:32 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2016-03-31 12:53:25 +0200 |
| commit | 26b8bf52d0723bfd9ba339063bb5aec8ea09c3c6 (patch) | |
| tree | 2b398760575dc9d5e906c70b7ed98d4450f24ff0 | |
| parent | 90650245d0e62706bb0d0e1dc809b8e10ec537f4 (diff) | |
[FIX] web: typo in 88594416a6966bba6c291ab271dea627568871ec
| -rw-r--r-- | addons/web/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index b00dc567f48..8e76e3d5342 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1373,7 +1373,7 @@ class CSVExport(ExportFormat, http.Controller): if d is False: d = None # Spreadsheet apps tend to detect formulas on leading =, + and - - if type(d) is str and d.startswith('=', '-', '+'): + if type(d) is str and d.startswith(('=', '-', '+')): d = "'" + d row.append(d) |
