From 55f6054edc2d8d4dcc7d7e1225380b0ea168dc88 Mon Sep 17 00:00:00 2001 From: neodarz Date: Tue, 9 Jul 2019 13:24:41 +0200 Subject: Fix typo --- umosapi/app_db/uobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.1