From 3cf05bc77858e470f302d59879135a09928d2811 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Fri, 2 Jul 2010 00:09:06 +0300 Subject: Store update file name in the settings --- utils/grumpy_sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/grumpy_sync.py b/utils/grumpy_sync.py index b632580..111c8dc 100755 --- a/utils/grumpy_sync.py +++ b/utils/grumpy_sync.py @@ -52,7 +52,8 @@ def main(path, initial_sync): # ...and delete if it exists session.delete(updates) session.flush() - data = dict(moves=moves, mtime=int(os.stat(update_path).st_mtime)) + data = dict(file=update_file, moves=moves, \ + mtime=int(os.stat(update_path).st_mtime)) session.add(Setting('updates_info', data)) session.commit() # Initial sync does not need to deal with moves -- cgit v1.2.3-65-gdbad