Skip to content

Commit

Permalink
Fix attr (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored Sep 29, 2016
1 parent a768b3c commit 24441f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nnvm/symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def attr(self, key):
ret = _ctypes.c_char_p()
success = _ctypes.c_int()
_check_call(_LIB.NNSymbolGetAttr(
self.handle, c_str(key), _ctypes.byref(ret), _ctypes.byref(success)))
self.handle, _base.c_str(key), _ctypes.byref(ret), _ctypes.byref(success)))
if success.value != 0:
return _base.py_str(ret.value)
else:
Expand Down

0 comments on commit 24441f9

Please sign in to comment.