Update developer docs

This commit is contained in:
Matthias
2020-12-07 11:17:11 +01:00
parent 0e2a43ab4d
commit 64d6c7bb65
2 changed files with 4 additions and 5 deletions

View File

@@ -20,9 +20,6 @@ class ProtectionManager():
self._protection_handlers: List[IProtection] = []
for protection_handler_config in self._config.get('protections', []):
if 'method' not in protection_handler_config:
logger.warning(f"No method found in {protection_handler_config}, ignoring.")
continue
protection_handler = ProtectionResolver.load_protection(
protection_handler_config['method'],
config=config,