diff --git a/replay/db/query.py b/replay/db/query.py index 4d0ceb8401209eb58e39eac3fb80a2f533e5fbb7..ca7b122c802ddfdc39b4f22de54130ebeae5bfdd 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"""