Updated url.
This commit is contained in:
parent
56a8098234
commit
66c45c45ba
@ -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(**data)
|
||||
|
||||
def find(self,table,data=None):
|
||||
if not data:
|
||||
|
Loading…
Reference in New Issue
Block a user