diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index c9b177d3e..bc5db6d94 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -524,17 +524,17 @@ class ListOrValue(BaseType): else: return self.valtype.to_str(value) - def to_doc(self, value): + def to_doc(self, value, indent=0): if value is None: return 'empty' if isinstance(value, list): if len(value) == 1: - return self.valtype.to_doc(value[0]) + return self.valtype.to_doc(value[0], indent) else: - return self.listtype.to_doc(value) + return self.listtype.to_doc(value, indent) else: - return self.valtype.to_doc(value) + return self.valtype.to_doc(value, indent) class FlagList(List):