fix tests

This commit is contained in:
Matthew Hodgson 2018-06-28 20:56:07 +01:00
parent f4f1cda928
commit e72234f6bd
2 changed files with 16 additions and 3 deletions

View file

@ -157,6 +157,7 @@ def _load_appservice(hostname, as_info, config_filename):
config_filename,
)
ip_range_whitelist = None
if as_info.get('ip_range_whitelist'):
ip_range_whitelist = IPSet(
as_info.get('ip_range_whitelist')