From 4313f4d88373c2e88ca68a60480b4948d95de974 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 08 2014 11:08:38 +0000 Subject: Fix Object name --- diff --git a/progit/lib.py b/progit/lib.py index d28b4d6..4ca03e2 100644 --- a/progit/lib.py +++ b/progit/lib.py @@ -914,9 +914,9 @@ def get_session_by_visitkey(session, sessionid): ''' query = session.query( - model.UserVisit + model.ProgitUserVisit ).filter( - model.UserVisit.visit_key == sessionid + model.ProgitUserVisit.visit_key == sessionid ) return query.first()