From 27b81a7b8383d314b2a1da2efbf3a46502d4ff4a Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Wed, 15 Aug 2012 13:57:32 +0200
Subject: [PATCH] Fix query implementation

---
 replay/db/query.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/replay/db/query.py b/replay/db/query.py
index 4d0ceb8..ca7b122 100644
--- a/replay/db/query.py
+++ b/replay/db/query.py
@@ -34,7 +34,7 @@ class Database(object):
       self.session = None
 
     else:
-      self.session = utils.session(type(), INFO.location(), files()[0])
+      self.session = utils.session(INFO.type(), INFO.location(), INFO.files()[0])
 
   def is_valid(self):
     """Returns if a valid session has been opened for reading the database"""
-- 
GitLab