mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Hmmm... not so intuitive...
This commit is contained in:
@@ -882,7 +882,7 @@ def json_fix( val ):
|
||||
elif isinstance( val, dict ):
|
||||
return dict( [ ( k, json_fix( v ) ) for ( k, v ) in val.iteritems() ] )
|
||||
elif isinstance( val, unicode ):
|
||||
return val.decode( "utf8" )
|
||||
return val.encode( "utf8" )
|
||||
else:
|
||||
return val
|
||||
|
||||
|
||||
Reference in New Issue
Block a user