save documents after process in signal script
This commit is contained in:
parent
42126e46a9
commit
92cf12905b
@ -24,7 +24,8 @@ def main():
|
||||
|
||||
for doc in docs:
|
||||
func(doc, kernel.get_last_version(doc))
|
||||
# optionally save doc?
|
||||
# make optional?
|
||||
kernel.db.tracked.save(doc, safe=True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user