Fix to the hack in

This commit is contained in:
Greg Von Kuster
2008-02-05 19:35:13 +00:00
parent c431c43b18
commit e15b218725
+1 -1
View File
@@ -759,7 +759,7 @@ class Tool:
errors[ input.name ] = old_errors[ input.name ]
else:
incoming_value = incoming.get( key, None )
if incoming_value == 'None' and isinstance( input, SelectToolParameter ) and input.is_dynamic:
if ( incoming_value == 'None' or incoming_value == '?' ) and isinstance( input, SelectToolParameter ) and input.is_dynamic:
# FIXME: This is a HACK, but is necessary because the
# values in incoming are not yet set by the user when
# the select list is dynamically generated.