fix (lots of) py3 test failures

This commit is contained in:
Neil Johnson 2018-08-03 14:59:17 +01:00
parent b2aab04d2c
commit 5593ff6773
3 changed files with 3 additions and 3 deletions

View file

@ -69,12 +69,12 @@ class ServerConfig(Config):
# Options to control access by tracking MAU
self.limit_usage_by_mau = config.get("limit_usage_by_mau", False)
self.max_mau_value = 0
if self.limit_usage_by_mau:
self.max_mau_value = config.get(
"max_mau_value", 0,
)
else:
self.max_mau_value = 0
# FIXME: federation_domain_whitelist needs sytests
self.federation_domain_whitelist = None
federation_domain_whitelist = config.get(