summaryrefslogtreecommitdiff
path: root/f1elo/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'f1elo/db.py')
-rw-r--r--f1elo/db.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/f1elo/db.py b/f1elo/db.py
index bf106a6..cd7c4ac 100644
--- a/f1elo/db.py
+++ b/f1elo/db.py
@@ -10,7 +10,6 @@ config = json.load(open(path.join(path.dirname(__main__.__file__), 'config', 'db
engine = create_engine("mysql://{0[user]}:{0[pass]}@{0[host]}/{0[db]}?charset=utf8".format(config))
Session = sessionmaker(bind=engine)
-
def find_driver(name, country, session):
driver = session.query(Driver).filter(Driver.driver==name).first()
if driver: