Skip to content

Commit

Permalink
Merge pull request philferriere#12 from rodrigob/patch-1
Browse files Browse the repository at this point in the history
Minor bug in _mask.pyx
  • Loading branch information
tylin committed Feb 11, 2016
2 parents 0d642da + 538a9cf commit 3ac47c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PythonAPI/pycocotools/_mask.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -287,5 +287,5 @@ def frPyObjects(pyobj, siz h, w):
elif type(pyobj) == list and type(pyobj[0]) == dict:
objs = frUncompressedRLE(pyobj, h, w)
else:
raise 'input type is not supported.'
return objs
raise Exception('input type is not supported.')
return objs

0 comments on commit 3ac47c7

Please sign in to comment.