mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-08-26 13:42:20 +00:00
py-i2phosts-checker: bugfix: quote sam_addr
This commit is contained in:
parent
e1be09b22f
commit
1574c1d13f
@ -51,7 +51,7 @@ log = get_logger(filename=log_file, log_level=log_level)
|
|||||||
all_hosts = i2phost.objects.all()
|
all_hosts = i2phost.objects.all()
|
||||||
|
|
||||||
# determine SAM interface address
|
# determine SAM interface address
|
||||||
if sam_addr in config:
|
if 'sam_addr' in config:
|
||||||
sam_addr = config['sam_addr']
|
sam_addr = config['sam_addr']
|
||||||
else:
|
else:
|
||||||
log.warning('SAM address isn\'t specified in config, falling back to localhost')
|
log.warning('SAM address isn\'t specified in config, falling back to localhost')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user