summaryrefslogtreecommitdiff
path: root/addons/web/controllers
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2016-03-31 12:44:32 +0200
committerOlivier Dony <odo@openerp.com>2016-03-31 12:53:25 +0200
commit26b8bf52d0723bfd9ba339063bb5aec8ea09c3c6 (patch)
tree2b398760575dc9d5e906c70b7ed98d4450f24ff0 /addons/web/controllers
parent90650245d0e62706bb0d0e1dc809b8e10ec537f4 (diff)
[FIX] web: typo in 88594416a6966bba6c291ab271dea627568871ec
Diffstat (limited to 'addons/web/controllers')
-rw-r--r--addons/web/controllers/main.py2
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)