mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-19 17:47:25 +02:00
[ui] CSV: case insensitive extension check
This commit is contained in:
parent
385d1f7738
commit
b43d59f347
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue