fthvd / qpackageQGZ

GNU General Public License v3.0
0 stars 0 forks source link

1st try #2

Open fdobad opened 1 month ago

fdobad commented 1 month ago

IndexError: list index out of range Traceback (most recent call last): File "/home/fdo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QPackageQGZ/QPackage_dialog.py", line 217, in copierCouches file_extension = chemin.suffixes[-1].lstrip('.')


IndexError: list index out of range

```
        for layer in self.ordered_layers:
            if chemin := Path(layer.source()):
                file_extension = chemin.suffixes[-1].lstrip('.')
```