From 26b8bf52d0723bfd9ba339063bb5aec8ea09c3c6 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 31 Mar 2016 12:44:32 +0200 Subject: [PATCH] [FIX] web: typo in 88594416a6966bba6c291ab271dea627568871ec --- addons/web/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)