X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=manifold%2Fmanifoldapi.py;h=12da1033ced208c61772b8527bd054cda50a65a4;hb=a627b9a4b0193193e8a05ae030a25c913d742ea0;hp=1826ba8490a4e1d7ab3dfec9dc43b902e3554306;hpb=544e6ac78d490061f848f98adb0e08574b474371;p=myslice.git diff --git a/manifold/manifoldapi.py b/manifold/manifoldapi.py index 1826ba84..12da1033 100644 --- a/manifold/manifoldapi.py +++ b/manifold/manifoldapi.py @@ -44,7 +44,7 @@ class ManifoldAPI: # XXX jordan : we need to wrap it into a ResultValue structure # XXX this is not good until we merge both repos if result['code'] != 2: - return ManifoldResult(code=result['code'], value=result['result']) + return ManifoldResult(code=result['code'], value=result['value']) else: return ManifoldResult(code=result['code'], output=result['description']) else: