mirror of https://github.com/fail2ban/fail2ban
typo/indent fix (no functional changes)
parent
6ce67a6d21
commit
06f2130575
|
@ -40,7 +40,7 @@ logSys = getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
def _json_default(x):
|
def _json_default(x):
|
||||||
"""Avoid errors on types unknow in json-adapters."""
|
"""Avoid errors on types unknown in json-adapters."""
|
||||||
if isinstance(x, set):
|
if isinstance(x, set):
|
||||||
x = list(x)
|
x = list(x)
|
||||||
return uni_string(x)
|
return uni_string(x)
|
||||||
|
|
Loading…
Reference in New Issue