1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Rename loader to load_plugin

This commit is contained in:
Unrud 2020-01-15 00:32:36 +01:00
parent a8a1fc470b
commit 0cd95f8a39
5 changed files with 6 additions and 5 deletions

View file

@ -35,7 +35,7 @@ INTERNAL_TYPES = ("none", "remote_user", "http_x_remote_user", "htpasswd")
def load(configuration):
"""Load the authentication module chosen in configuration."""
return utils.loader(INTERNAL_TYPES, "auth", "Auth", configuration)
return utils.load_plugin(INTERNAL_TYPES, "auth", "Auth", configuration)
class BaseAuth: