From a11a57cbbf6c8ead5e9f84ba46594ad6cbb465d0 Mon Sep 17 00:00:00 2001 From: retoor Date: Thu, 2 Jan 2025 20:34:41 +0100 Subject: [PATCH] Updated url. --- src/metriki/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metriki/app.py b/src/metriki/app.py index 0f28665..f924a34 100644 --- a/src/metriki/app.py +++ b/src/metriki/app.py @@ -47,7 +47,7 @@ class BaseView(web.View): def insert(self, table, data): data['ip'] = self.ip data['created'] = datetime.now() - return self.db[table].insert(**data) + return self.db[table].insert(dict(data)) def find(self,table,data=None): if not data: