sources/oauth: fix handling of sources with spaces in their name

This commit is contained in:
Jens Langhammer
2020-05-19 21:53:36 +02:00
parent 4d45dc31a9
commit f58ee7fb52
4 changed files with 24 additions and 15 deletions

View File

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