From 98a458b8b72071e34de3dfd1e894fd98363fb268 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 8 Oct 2020 23:53:10 +0200 Subject: On butler re-creation, force target and do not purge already calculated butler scores (allows rolling back to specified round/segment) --- butler/butler.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'butler') diff --git a/butler/butler.py b/butler/butler.py index 36022e0..333f503 100644 --- a/butler/butler.py +++ b/butler/butler.py @@ -67,8 +67,6 @@ print('UPDATE admin SET teamcnt=%d, butler=%d;' % ( print('UPDATE teams SET bye=2;') -print('DELETE FROM butler;') - for table in ['boards', 'rounds']: print('DELETE FROM %s;' % (table)) print('INSERT INTO %s SELECT * FROM %s.%s;' % ( -- cgit v1.2.3