File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
python/plugins/processing/algs Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -493,9 +493,7 @@ def commandLineName(self):
493
493
return 'grass:' + self .name [:self .name .find (' ' )]
494
494
495
495
def checkBeforeOpeningParametersDialog (self ):
496
- msg = GrassUtils .checkGrassIsInstalled ()
497
- if msg is not None :
498
- return msg
496
+ return GrassUtils .checkGrassIsInstalled ()
499
497
500
498
def checkParameterValuesBeforeExecuting (self ):
501
499
name = self .commandLineName ().replace ('.' , '_' )[len ('grass:' ):]
Original file line number Diff line number Diff line change @@ -550,9 +550,7 @@ def commandLineName(self):
550
550
return 'grass7:' + self .name [:self .name .find (' ' )]
551
551
552
552
def checkBeforeOpeningParametersDialog (self ):
553
- msg = Grass7Utils .checkGrass7IsInstalled ()
554
- if msg is not None :
555
- return msg
553
+ return Grass7Utils .checkGrass7IsInstalled ()
556
554
557
555
def checkParameterValuesBeforeExecuting (self ):
558
556
if self .module :
You can’t perform that action at this time.
0 commit comments