summary refs log tree commit diff
path: root/synapse/config/consent_config.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-26 12:12:14 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-26 12:12:14 +0000
commitfba32b84d28fd6018b698f5ee6738ad29347b216 (patch)
tree221d296c5c0764fc1720e29e4ea160e509fb2bda /synapse/config/consent_config.py
parentFix yields and copy instead of move push rules on room upgrade (#6144) (diff)
parentFix up some typechecking (#6150) (diff)
downloadsynapse-fba32b84d28fd6018b698f5ee6738ad29347b216.tar.xz
Fix up some typechecking (#6150)
Diffstat (limited to 'synapse/config/consent_config.py')
-rw-r--r--synapse/config/consent_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/consent_config.py b/synapse/config/consent_config.py

index 94916f3a49..48976e17b1 100644 --- a/synapse/config/consent_config.py +++ b/synapse/config/consent_config.py
@@ -73,8 +73,8 @@ DEFAULT_CONFIG = """\ class ConsentConfig(Config): - def __init__(self): - super(ConsentConfig, self).__init__() + def __init__(self, *args): + super(ConsentConfig, self).__init__(*args) self.user_consent_version = None self.user_consent_template_dir = None