Skip to content

Commit

Permalink
Fixed output conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
rexissimus committed Feb 25, 2015
1 parent 62482e1 commit 15ca1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vistrails/packages/vtk/init.py
Expand Up @@ -46,9 +46,9 @@ def convert_input_param(value, _type):

def convert_output_param(value, _type):
# convert to Path port
if isinstance(_type, Path):
if issubclass(_type, Path):
return PathObject(value)
if isinstance(_type, Color):
if issubclass(_type, Color):
return InstanceObject(tuple=value)
return value

Expand Down

0 comments on commit 15ca1c2

Please sign in to comment.