[Python 3] Fixed an issue iterate the keys from the session loaded from

the sqlite.
pull/3/head
Khushboo Vashi 2016-04-26 16:16:09 +05:30 committed by Ashesh Vashi
parent 9dd3aeadb5
commit 970e0c3540
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class SqliteSessionStorage(MutableMapping, SessionMixin):
"""
with self._get_conn() as conn:
for row in conn.execute(self._ite_sql):
yield loads(str(row[0]))
yield loads(dumps(row[0]))
def __len__(self):
"""Returns the number of keys stored in this session.