Fix configtypes mistakes
This commit is contained in:
parent
8de0445661
commit
3009e5eebe
@ -507,11 +507,11 @@ content.custom_headers:
|
|||||||
type:
|
type:
|
||||||
name: Dict
|
name: Dict
|
||||||
keytype:
|
keytype:
|
||||||
- name: String
|
name: String
|
||||||
- encoding: ascii
|
encoding: ascii
|
||||||
valtype:
|
valtype:
|
||||||
- name: String
|
name: String
|
||||||
- encoding: ascii
|
encoding: ascii
|
||||||
none_ok: true
|
none_ok: true
|
||||||
desc: Set custom headers for qutebrowser HTTP requests.
|
desc: Set custom headers for qutebrowser HTTP requests.
|
||||||
|
|
||||||
|
@ -1122,7 +1122,7 @@ class Padding(Dict):
|
|||||||
def __init__(self, none_ok=False, valid_values=None):
|
def __init__(self, none_ok=False, valid_values=None):
|
||||||
super().__init__(keytype=String(), valtype=Int(minval=0),
|
super().__init__(keytype=String(), valtype=Int(minval=0),
|
||||||
fixed_keys=['top', 'bottom', 'left', 'right'],
|
fixed_keys=['top', 'bottom', 'left', 'right'],
|
||||||
none_ok=none_ok, length=4)
|
none_ok=none_ok)
|
||||||
# FIXME:conf
|
# FIXME:conf
|
||||||
assert valid_values is None, valid_values
|
assert valid_values is None, valid_values
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user