File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
python/plugins/processing/core Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ def _resolveTemporary(self, alg):
396
396
397
397
def getOutputFromString (s ):
398
398
try :
399
- if "|" in s :
399
+ if "|" in s and s . startswith ( "Output" ) :
400
400
tokens = s .split ("|" )
401
401
params = [t if str (t ) != "None" else None for t in tokens [1 :]]
402
402
clazz = getattr (sys .modules [__name__ ], tokens [0 ])
Original file line number Diff line number Diff line change @@ -1513,7 +1513,7 @@ def setValue(self, value):
1513
1513
1514
1514
def getParameterFromString (s ):
1515
1515
# Try the parameter definitions used in description files
1516
- if '|' in s :
1516
+ if '|' in s and ( s . startswith ( "Parameter" ) or s . startswith ( "*Parameter" )) :
1517
1517
isAdvanced = False
1518
1518
if s .startswith ("*" ):
1519
1519
s = s [1 :]
@@ -1535,3 +1535,5 @@ def getParameterFromString(s):
1535
1535
return param
1536
1536
except AttributeError :
1537
1537
pass
1538
+ except :
1539
+ return None
You can’t perform that action at this time.
0 commit comments