Skip to content
Snippets Groups Projects
Commit 71fbcdc5 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

fixes issue #45

parent b48a6c93
No related branches found
No related tags found
No related merge requests found
......@@ -801,7 +801,7 @@ class TimeSeriesViewer(QgisInterface, QObject):
"JPEG (*.jpg *.jpeg *.jp2 *.j2k);;"+\
"All files (*.*)"
"""
filter = QgsProviderRegistry.instance().fileRasterFilters()
filters = QgsProviderRegistry.instance().fileRasterFilters()
files, filter = QFileDialog.getOpenFileNames(directory=defDir, filter=filters)
if len(files) > 0 and os.path.exists(files[0]):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment