]> projects.mako.cc - mw/commitdiff
(whoops, forgot to actually return the data)
authorIan Weller <ian@ianweller.org>
Sun, 14 Mar 2010 07:04:40 +0000 (01:04 -0600)
committerIan Weller <ian@ianweller.org>
Sun, 14 Mar 2010 07:04:40 +0000 (01:04 -0600)
src/mw/api.py

index 09467824b1e766695e3a58bb0a5b38cc79351ae7..59a3947a81f33a45f7c0ac5c494b33473efcca97 100644 (file)
@@ -47,7 +47,7 @@ class API(object):
         the_data = json.loads(data)
         if 'error' in the_data.keys():
             raise APIError(the_data['error']['info'])
-        return
+        return the_data
 
     def limits(self, low, high):
         if self._high_limits == None:

Benjamin Mako Hill || Want to submit a patch?