Automated update of Base Application package.

This commit is contained in:
bot 2024-12-11 18:43:27 +00:00
parent 249e44f405
commit 6019a70012
3 changed files with 1 additions and 1 deletions

Binary file not shown.

BIN
dist/app-1.0.0.tar.gz vendored

Binary file not shown.

View File

@ -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