fix 1006 command wim-show tries to load json twice
[osm/osmclient.git] / osmclient / sol005 / wim.py
index 90632c6..f9d2431 100644 (file)
@@ -235,7 +235,7 @@ class Wim(object):
                 resp =  json.loads(resp)
             if not resp or '_id' not in resp:
                 raise ClientException('failed to get wim info: '.format(resp))
-            return json.loads(resp)
+            return resp
         except NotFound:
             raise NotFound("wim '{}' not found".format(name))