diff --git a/dist/app-1.0.0-py3-none-any.whl b/dist/app-1.0.0-py3-none-any.whl index e843173..1de5204 100644 Binary files a/dist/app-1.0.0-py3-none-any.whl and b/dist/app-1.0.0-py3-none-any.whl differ diff --git a/dist/app-1.0.0.tar.gz b/dist/app-1.0.0.tar.gz index d668559..dbaf721 100644 Binary files a/dist/app-1.0.0.tar.gz and b/dist/app-1.0.0.tar.gz differ diff --git a/src/app/app.py b/src/app/app.py index 9dcecab..14c5ec2 100644 --- a/src/app/app.py +++ b/src/app/app.py @@ -177,7 +177,7 @@ class WebDbApplication(BaseApplication): async def get(self, key, default=None): record = self.db["kv"].find_one(key=key) if record: - result = record.get("value","null") + result = record.get("value", "null") return result == "null" and default or json.loads(result) return default