mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
overview pages updated
This commit is contained in:
@@ -14,6 +14,7 @@ class DbManager(object):
|
||||
|
||||
def save(self, col_name: str, item, **kwargs):
|
||||
col = self.db[col_name]
|
||||
item.pop('stats') # in case some fields cannot be saved in MongoDB
|
||||
col.save(item, **kwargs)
|
||||
|
||||
def remove(self, col_name: str, cond: dict, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user