summaryrefslogtreecommitdiff
path: root/import-csv.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2014-10-07 11:00:51 +0200
committeremkael <emkael@tlen.pl>2014-10-07 11:00:51 +0200
commit6298e63ddb46d01d9e272f8830186d1d7482751a (patch)
tree46d873294c03483859fb357be2d1663fa230ed87 /import-csv.py
parent7127fd85771045a62030dc9cef840a347b639308 (diff)
* isort-ed imports
Diffstat (limited to 'import-csv.py')
-rw-r--r--import-csv.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/import-csv.py b/import-csv.py
index de0eb7a..ae4b9e6 100644
--- a/import-csv.py
+++ b/import-csv.py
@@ -1,10 +1,11 @@
-from f1elo.db import Session, find_driver
-from f1elo.model import *
+import csv
import sys
+from f1elo.db import find_driver, Session
+from f1elo.model import *
+
session = Session()
-import csv
with open(sys.argv[1]) as f:
reader = csv.reader(f)
for row in reader: