This commit is contained in:
Andreas Bielawski 2017-10-10 20:13:02 +02:00
parent 8ed55759e5
commit 2570110002

2
bot.py
View File

@ -69,7 +69,7 @@ else:
r = redis.Redis(host=redis_host, port=int(redis_port), db=int(redis_db), decode_responses=True) r = redis.Redis(host=redis_host, port=int(redis_port), db=int(redis_db), decode_responses=True)
if not r.ping(): if not r.ping():
logger.getLogger("Redis").critical("Redis-Verbindungsfehler, config.ini prüfen") logging.getLogger("Redis").critical("Redis-Verbindungsfehler, config.ini prüfen")
sys.exit(1) sys.exit(1)
feed_hash = 'pythonbot:rss:{0}' feed_hash = 'pythonbot:rss:{0}'