X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fwim.py;h=f9d2431198e9fc569e2b091585f230a492e7f457;hb=09bb6134d43ca1449fbc2ccf7430de0da4f1e109;hp=90632c6ecaea14c9aacee5a6a284f34937b85ca9;hpb=bd39b09580560307a1ac23be4984783d1bea9238;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/wim.py b/osmclient/sol005/wim.py index 90632c6..f9d2431 100644 --- a/osmclient/sol005/wim.py +++ b/osmclient/sol005/wim.py @@ -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))