Skip to content
Permalink
Browse files

typos

  • Loading branch information
ghtmtt authored and nyalldawson committed May 4, 2018
1 parent b2c0dd9 commit 9b22d99707a604991f11e5a23f275e05beeaa792
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/core/parameters.py
@@ -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:
@@ -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

0 comments on commit 9b22d99

Please sign in to comment.
You can’t perform that action at this time.