summaryrefslogtreecommitdiff
path: root/butler
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-10-08 23:53:10 +0200
committeremkael <emkael@tlen.pl>2020-10-08 23:53:10 +0200
commit98a458b8b72071e34de3dfd1e894fd98363fb268 (patch)
tree3125b30d1273e5b7dcb5e7479d83d463e1d73c17 /butler
parent99f3516002a145ffa678dd3f7902453d1eca3963 (diff)
On butler re-creation, force target and do not purge already calculated butler scores (allows rolling back to specified round/segment)
Diffstat (limited to 'butler')
-rw-r--r--butler/butler.py2
1 files changed, 0 insertions, 2 deletions
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;' % (