Skip to content
Snippets Groups Projects
Commit 05f82f78 authored by Lan Dam's avatar Lan Dam
Browse files

fix bug in getting folder name for gps export

parent 0379ce4a
No related branches found
No related tags found
1 merge request!162fix bug for path's name when saving GPS file
Pipeline #2947 passed with stage
in 2 minutes and 57 seconds
This commit is part of merge request !162. Comments created here will be created in the context of that merge request.
......@@ -356,7 +356,7 @@ class GPSDialog(QtWidgets.QWidget):
try:
folder_name = self.data_path.name
except AttributeError:
folder_name = self.data_path
folder_name = self.data_path.split(os.sep)[-1]
export_file_path = self.export_path / f'{folder_name}.gps.dat'
try:
......
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