fix bug: AttributeError: 'module' object has no attribute 'StrictRedis'

Brightcells vor 8 Jahren
Ursprung
Commit
ae502c940d
1 geänderte Dateien mit 1 neuen Zeilen und 1 gelöschten Zeilen
  1. 1 1
      pai2/func_settings.py

+ 1 - 1
pai2/func_settings.py

@@ -13,4 +13,4 @@ def redis_conf(conf):
13 13
 
14 14
 
15 15
 def redis_connect(conf):
16
-    return redis.StrictRedis(connection_pool=redis.ConnectionPool(**redis_conf(conf)))
16
+    return redis.StrictRedisExtensions(connection_pool=redis.ConnectionPool(**redis_conf(conf)))