sources/oauth: slugify provider type instead of just lowercase

This commit is contained in:
Jens Langhammer
2020-02-23 13:53:16 +01:00
parent b2c10e2387
commit f4a676e2fb
3 changed files with 3 additions and 3 deletions

View File

@ -21,6 +21,5 @@ class PassbookSourceOAuthConfig(AppConfig):
for source_type in settings.PASSBOOK_SOURCES_OAUTH_TYPES:
try:
import_module(source_type)
LOGGER.info("Loaded source_type", source_class=source_type)
except ImportError as exc:
LOGGER.debug(exc)