Skip to content

Commit

Permalink
Merge pull request #3045 from blankenberg/value_to_display_text-fix
Browse files Browse the repository at this point in the history
Fix for displaying parameters to the user, that have a False value.
  • Loading branch information
dannon committed Oct 13, 2016
2 parents 0062eac + b6d4473 commit 4446ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tools/parameters/basic.py
Expand Up @@ -151,7 +151,7 @@ def value_to_display_text( self, value, app ):
Convert a value to a text representation suitable for displaying to
the user
"""
if value:
if value is not None:
return unicodify( value )
return "Not available."

Expand Down

0 comments on commit 4446ccc

Please sign in to comment.