summaryrefslogtreecommitdiff
path: root/elo.py
diff options
context:
space:
mode:
Diffstat (limited to 'elo.py')
-rwxr-xr-xelo.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/elo.py b/elo.py
index 426efab..7169b33 100755
--- a/elo.py
+++ b/elo.py
@@ -1,10 +1,12 @@
#!/usr/bin/env python
+import argparse
+import datetime
+
+import dateutil.parser
+import dateutil.relativedelta
from f1elo.db import Session
-from f1elo.model import *
from f1elo.elo import Elo
-import dateutil.parser, dateutil.relativedelta
-import datetime
-import argparse
+from f1elo.model import *
session = Session()
elo = Elo(session)
@@ -86,4 +88,3 @@ for rank in sorted(drivers.values(), key=lambda rank: rank.ranking, reverse=True
print rank
session.commit()
-