Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtmtt authored and nyalldawson committed May 4, 2018
1 parent b2c0dd9 commit 9b22d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/core/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def getParameterFromString(s):
if clazz == QgsProcessingParameterRasterLayer:
if len(params) > 3:
params[3] = True if params[3].lower() == 'true' else False
elis clazz == QgsProcessingParameterBand:
elif clazz == QgsProcessingParameterBand:
if len(params) > 3:
params[3] = True if params[3].lower() == 'true' else False
elif clazz == QgsProcessingParameterVectorLayer:
Expand All @@ -115,7 +115,7 @@ def getParameterFromString(s):
params[4] = True if params[4].lower() == 'true' else False
elif clazz == QgsProcessingParameterMapLayer:
if len(params) > 3:
params[3[ = True if params[3].lower() == 'true' else False
params[3] = True if params[3].lower() == 'true' else False
elif clazz == QgsProcessingParameterBoolean:
if len(params) > 2:
params[2] = True if params[2].lower() == 'true' else False
Expand Down

0 comments on commit 9b22d99

Please sign in to comment.