summaryrefslogtreecommitdiff
path: root/f1elo
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2014-11-07 11:06:26 +0100
committeremkael <emkael@tlen.pl>2014-11-07 11:06:26 +0100
commit2c734e2697cff232ce82b3e2647b0560e8b348ba (patch)
tree36f19ab75db62319a167d4825c52d19a99c218c1 /f1elo
parent59af773f4893792af741d5916bb411da0897441c (diff)
* debug information displays correct previous rating
Diffstat (limited to 'f1elo')
-rw-r--r--f1elo/interface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/f1elo/interface.py b/f1elo/interface.py
index de472b5..173cfa7 100644
--- a/f1elo/interface.py
+++ b/f1elo/interface.py
@@ -85,7 +85,7 @@ class Interface:
print(
entry,
elo.get_entry_ranking(entry,
- race.date),
+ race.date - dateutil.relativedelta.relativedelta(days=1)),
elo.get_entry_ranking(entry),
file=sys.stderr)
print('', file=sys.stderr)