diff options
author | emkael <emkael@tlen.pl> | 2014-10-07 11:00:51 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2014-10-07 11:00:51 +0200 |
commit | 6298e63ddb46d01d9e272f8830186d1d7482751a (patch) | |
tree | 46d873294c03483859fb357be2d1663fa230ed87 /import-csv.py | |
parent | 7127fd85771045a62030dc9cef840a347b639308 (diff) |
* isort-ed imports
Diffstat (limited to 'import-csv.py')
-rw-r--r-- | import-csv.py | 7 |
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: |