save documents after process in signal script
This commit is contained in:
parent
42126e46a9
commit
92cf12905b
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ def main():
|
||||||
|
|
||||||
for doc in docs:
|
for doc in docs:
|
||||||
func(doc, kernel.get_last_version(doc))
|
func(doc, kernel.get_last_version(doc))
|
||||||
# optionally save doc?
|
# make optional?
|
||||||
|
kernel.db.tracked.save(doc, safe=True)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue