From 92cf12905bc3c563c5357e896b399eb43d0320aa Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 10 Apr 2012 17:36:22 -0400 Subject: [PATCH] save documents after process in signal script --- oyster/scripts/signal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oyster/scripts/signal.py b/oyster/scripts/signal.py index e48c8fb..0eb192d 100644 --- a/oyster/scripts/signal.py +++ b/oyster/scripts/signal.py @@ -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()