zabbix_hostmacro: Fixed basic auth (#2330) (#2331)

reviewable/pr18780/r1
Artem Alexandrov 9 years ago committed by René Moser
parent 575fc6e87b
commit 5d900b7a77

@ -111,8 +111,8 @@ except ImportError:
# Extend the ZabbixAPI
# Since the zabbix-api python module too old (version 1.0, no higher version so far).
class ZabbixAPIExtends(ZabbixAPI):
def __init__(self, server, timeout, **kwargs):
ZabbixAPI.__init__(self, server, timeout=timeout)
def __init__(self, server, timeout, user, passwd, **kwargs):
ZabbixAPI.__init__(self, server, timeout=timeout, user=user, passwd=passwd)
class HostMacro(object):

Loading…
Cancel
Save