diff --git a/src/gui/export.py b/src/gui/export.py index 20855c48..a1c895cf 100644 --- a/src/gui/export.py +++ b/src/gui/export.py @@ -62,9 +62,7 @@ def initGui(self, parent: QObject, toolbar: QToolBar) -> None: def clean(self): self.saveFolderEdit.setText("") self.driverComboBox.setCurrentIndex(0) - self.progressBar.setFormat( - f"%p%" - ) + self.progressBar.setFormat("%p%") self.progressBar.setValue(0) def updateSaveFolder(self) -> None: @@ -330,7 +328,7 @@ def addEndEffortFeature(self, layer: QgsVectorLayer) -> QgsVectorLayer: layer.startEditing() return layer - def removeEndEffort(self, layer): + def removeEndEffort(self, layer: QgsVectorLayer) -> None: layer.startEditing() expr = QgsExpression( f"status = '{StatusCode.display(StatusCode.END)}'"