aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-07-09 13:24:41 +0200
committerneodarz <neodarz@neodarz.net>2019-07-09 13:24:41 +0200
commit55f6054edc2d8d4dcc7d7e1225380b0ea168dc88 (patch)
tree8c7c3807418aa87191e1dd28190dfc21e483882e
parent38f5a8e7d0a10d60dace9530c1b2f02dc01fc1b2 (diff)
downloadumosapi-55f6054edc2d8d4dcc7d7e1225380b0ea168dc88.tar.xz
umosapi-55f6054edc2d8d4dcc7d7e1225380b0ea168dc88.zip
Fix typo
-rw-r--r--umosapi/app_db/uobject.py2
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
}