dever пре 7 година
родитељ
комит
1a2d421135
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      demeter/core.py

+ 1 - 1
demeter/core.py

@@ -374,7 +374,7 @@ class Demeter(object):
 	def redis(self):
 		import redis
 		config = self.config['redis']
-		pool = redis.ConnectionPool(host=config['host'], port=int(config['host']['port']))
+		pool = redis.ConnectionPool(host=config['host'], port=int(config['port']))
 		return redis.Redis(connection_pool=pool)
 
 class File(object):