Skip to content

Commit 3ce6730

Browse files
arfiobhufmann
authored andcommitted
change 'obj' as it is not defined
Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
1 parent 8d167df commit 3ce6730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsp/output_descriptor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def __init__(self, params):
145145

146146

147147
def __repr__(self):
148-
return 'OutputDescriptor(id={}, name={}, description={}, type={})'.format(self.id, self.name, self.description, obj.type)
148+
return 'OutputDescriptor(id={}, name={}, description={}, type={})'.format(self.id, self.name, self.description, self.type)
149149

150150
def to_json(self):
151151
return json.dumps(self, cls=OutputDescriptorEncoder, indent=4)

0 commit comments

Comments
 (0)