diff --git a/config.py b/config.py index 4444466..f0ac779 100755 --- a/config.py +++ b/config.py @@ -200,7 +200,7 @@ def build_config(_config_file): 'ENABLED': config.getboolean(section, 'ENABLED'), 'USER': config.get(section, 'USER'), 'PASS': config.get(section, 'PASS'), - 'SERVER': config.get(section, 'SERVER'), + 'SERVER': gethostbyname(config.get(section, 'SERVER')), 'PORT': config.getint(section,'PORT'), 'NODE' : config.getint(section,'NODE') })