Update session.py

pull/7800/head
jiangweidong 2022-03-21 19:02:30 +08:00 committed by GitHub
parent 794139782f
commit e35fbfc7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
from redis_sessions.session import (
force_unicode, SessionStore as RedisSessionStore,
RedisServer as RedisRedisServer, settings as redis_setting
RedisServer as _RedisServer, settings as redis_setting
)
from redis import exceptions, Redis
from django.conf import settings
@ -8,7 +8,7 @@ from django.conf import settings
from jumpserver.const import CONFIG
class RedisServer(RedisRedisServer):
class RedisServer(_RedisServer):
__redis = {}
def get(self):