mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix booleans
This commit is contained in:
@@ -477,7 +477,7 @@ class BooleanToolParameter( ToolParameter ):
|
||||
return ( value in [ True, 'True', 'true' ] )
|
||||
|
||||
def to_json( self, value, app=None ):
|
||||
if value is True:
|
||||
if self.to_python( value, app ):
|
||||
return 'true'
|
||||
else:
|
||||
return 'false'
|
||||
|
||||
Reference in New Issue
Block a user