fix redis sessions and redis for python3

This commit is contained in:
Radu Ioan Fericean
2018-04-14 14:33:37 +03:00
parent 90288a0134
commit 086bfb5851
4 changed files with 15 additions and 11 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ to ensure compatibility with another - similar - library
"""
import logging
import thread
from threading import Lock
import time
from gluon import current
@@ -26,7 +26,7 @@ except ImportError:
raise RuntimeError('Needs redis library to work')
locker = thread.allocate_lock()
locker = Lock()
def RConn(*args, **vars):