summaryrefslogtreecommitdiff
path: root/import-csv.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2014-10-28 21:18:00 +0100
committeremkael <emkael@tlen.pl>2014-10-28 21:18:00 +0100
commite8ef92b0254909df8291d144d72bcb837817cf51 (patch)
tree8b69f75f92bf28fed1a300db9a2bf2fd6045fcc9 /import-csv.py
parent53993580a1db45eb6a5255eba2a30b296ea0fd90 (diff)
* fixed import for the import script
Diffstat (limited to 'import-csv.py')
-rw-r--r--import-csv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/import-csv.py b/import-csv.py
index ff65425..49b699e 100644
--- a/import-csv.py
+++ b/import-csv.py
@@ -1,7 +1,8 @@
import csv
import sys
-from f1elo.model import find_driver, Session
+from f1elo.db import Session
+from f1elo.model import find_driver
from f1elo.model import *
session = Session()