diff options
author | neodarz <neodarz@neodarz.net> | 2019-07-09 13:24:41 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-07-09 13:24:41 +0200 |
commit | 55f6054edc2d8d4dcc7d7e1225380b0ea168dc88 (patch) | |
tree | 8c7c3807418aa87191e1dd28190dfc21e483882e | |
parent | 38f5a8e7d0a10d60dace9530c1b2f02dc01fc1b2 (diff) | |
download | umosapi-55f6054edc2d8d4dcc7d7e1225380b0ea168dc88.tar.xz umosapi-55f6054edc2d8d4dcc7d7e1225380b0ea168dc88.zip |
Fix typo
-rw-r--r-- | umosapi/app_db/uobject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/umosapi/app_db/uobject.py b/umosapi/app_db/uobject.py index ebb7a9e..9830187 100644 --- a/umosapi/app_db/uobject.py +++ b/umosapi/app_db/uobject.py @@ -38,7 +38,7 @@ class UObject(object): error = {"msg": "UObject _id is required", "code": 400} elif len(list(mongo.db.uobjects.find({"_id": ObjectId(_id)}))) == 0: error = { - 'msg': "UObject {} not exist. So it's good.".format(_id), + "msg": "UObject {} not exist. So it's good.".format(_id), "code": 404 } |