Browse Source

py-i2phosts-checker: bugfix: quote sam_addr

pull/1/head
Hidden Z 14 years ago
parent
commit
1574c1d13f
  1. 2
      py-i2phosts-checker

2
py-i2phosts-checker

@ -51,7 +51,7 @@ log = get_logger(filename=log_file, log_level=log_level) @@ -51,7 +51,7 @@ log = get_logger(filename=log_file, log_level=log_level)
all_hosts = i2phost.objects.all()
# determine SAM interface address
if sam_addr in config:
if 'sam_addr' in config:
sam_addr = config['sam_addr']
else:
log.warning('SAM address isn\'t specified in config, falling back to localhost')

Loading…
Cancel
Save