Update 'app.py'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kocsis Richárd 2020-04-17 16:27:13 +02:00
parent 2a77c552bf
commit 9d94dbd6d6

2
app.py
View File

@ -37,7 +37,7 @@ def main():
logging.debug('Get consumer list from redis at first: Done') logging.debug('Get consumer list from redis at first: Done')
temp_dict = { } temp_dict = { }
hostname = socket.gethostname() host_name = socket.gethostname()
current_ip = socket.gethostbyname(host_name) current_ip = socket.gethostbyname(host_name)
for ip in ip_list: for ip in ip_list: