From b43d59f347bf7f25b9163c8d865148181a957904 Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Thu, 6 Aug 2020 19:23:22 +0200 Subject: [PATCH] [ui] CSV: case insensitive extension check --- meshroom/ui/components/csvData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/ui/components/csvData.py b/meshroom/ui/components/csvData.py index 6f5bb93c..a8337817 100644 --- a/meshroom/ui/components/csvData.py +++ b/meshroom/ui/components/csvData.py @@ -43,7 +43,7 @@ class CsvData(QObject): def read(self): """Read the CSV file and return a list containing CsvColumn objects.""" - if not self._filepath or not self._filepath.endswith(".csv") or not os.path.isfile(self._filepath): + if not self._filepath or not self._filepath.lower().endswith(".csv") or not os.path.isfile(self._filepath): return [] csvRows = []