Skip to content

Commit 9b22d99

Browse files
ghtmttnyalldawson
authored andcommittedMay 4, 2018
typos
1 parent b2c0dd9 commit 9b22d99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎python/plugins/processing/core/parameters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def getParameterFromString(s):
105105
if clazz == QgsProcessingParameterRasterLayer:
106106
if len(params) > 3:
107107
params[3] = True if params[3].lower() == 'true' else False
108-
elis clazz == QgsProcessingParameterBand:
108+
elif clazz == QgsProcessingParameterBand:
109109
if len(params) > 3:
110110
params[3] = True if params[3].lower() == 'true' else False
111111
elif clazz == QgsProcessingParameterVectorLayer:
@@ -115,7 +115,7 @@ def getParameterFromString(s):
115115
params[4] = True if params[4].lower() == 'true' else False
116116
elif clazz == QgsProcessingParameterMapLayer:
117117
if len(params) > 3:
118-
params[3[ = True if params[3].lower() == 'true' else False
118+
params[3] = True if params[3].lower() == 'true' else False
119119
elif clazz == QgsProcessingParameterBoolean:
120120
if len(params) > 2:
121121
params[2] = True if params[2].lower() == 'true' else False

0 commit comments

Comments
 (0)
Please sign in to comment.