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

@ -28,7 +28,7 @@ INTERNAL_TYPES = ("none", "internal")
def load(configuration):
"""Load the web module chosen in configuration."""
return utils.loader(INTERNAL_TYPES, "web", "Web", configuration)
return utils.load_plugin(INTERNAL_TYPES, "web", "Web", configuration)
class BaseWeb: