From 9d94dbd6d60398660f8edda7700c81333f596ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kocsis=20Rich=C3=A1rd?= Date: Fri, 17 Apr 2020 16:27:13 +0200 Subject: [PATCH] Update 'app.py' --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 55f5b80..ea728a4 100644 --- a/app.py +++ b/app.py @@ -37,7 +37,7 @@ def main(): logging.debug('Get consumer list from redis at first: Done') temp_dict = { } - hostname = socket.gethostname() + host_name = socket.gethostname() current_ip = socket.gethostbyname(host_name) for ip in ip_list: