Skip to content

Commit

Permalink
remove unnecessary casts from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisterH authored and nyalldawson committed Jul 6, 2023
1 parent 158b0e2 commit 75420de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/grassprovider/Grass7AlgorithmProvider.py
Expand Up @@ -94,10 +94,10 @@ def createAlgsList(self):
if alg.name().strip() != '':
algs.append(alg)
else:
QgsMessageLog.logMessage(self.tr('Could not open GRASS GIS 7 algorithm: {0}').format(str(descriptionFile)), self.tr('Processing'), Qgis.Critical)
QgsMessageLog.logMessage(self.tr('Could not open GRASS GIS 7 algorithm: {0}').format(descriptionFile), self.tr('Processing'), Qgis.Critical)
except Exception as e:
QgsMessageLog.logMessage(
self.tr('Could not open GRASS GIS 7 algorithm: {0}\n{1}').format(str(descriptionFile), str(e)), self.tr('Processing'), Qgis.Critical)
self.tr('Could not open GRASS GIS 7 algorithm: {0}\n{1}').format(descriptionFile, e), self.tr('Processing'), Qgis.Critical)
return algs

def loadAlgorithms(self):
Expand Down

0 comments on commit 75420de

Please sign in to comment.