Fix rendering of Select parameters as_display_text when no value is selected.

This commit is contained in:
James Taylor
2008-07-14 01:54:10 +00:00
parent 24fed10a05
commit 0071b7389e
+1 -1
View File
@@ -563,7 +563,7 @@ class SelectToolParameter( ToolParameter ):
# FIXME: Currently only translating values back to labels if they
# are not dynamic
if self.is_dynamic:
rval = value
rval = map( str, value )
else:
options = list( self.static_options )
rval = []