mirror of https://github.com/fail2ban/fail2ban
python 3x compatibility fix (positional arguments vs named arguments)
parent
097970781c
commit
ec7bb0d6c9
|
@ -141,7 +141,7 @@ class ConfigReader():
|
|||
|
||||
def get(self, sec, opt, raw=False, vars={}):
|
||||
if self._cfg is not None:
|
||||
return self._cfg.get(sec, opt, raw, vars)
|
||||
return self._cfg.get(sec, opt, raw=raw, vars=vars)
|
||||
return None
|
||||
|
||||
def getOptions(self, *args, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue