Skip to content

Commit

Permalink
fix SUPPORTED_LAZY_TAXONOMY_SOURCES
Browse files Browse the repository at this point in the history
  • Loading branch information
biodiv committed Oct 21, 2022
1 parent 3d075ab commit a5d9fa9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion localcosmos_server/taxonomy/lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

from django.conf import settings

SUPPORTED_LAZY_TAXONOMY_SOURCES = [db[0] for db in settings.LAZY_TAXONOMY_SOURCES]
SUPPORTED_LAZY_TAXONOMY_SOURCES = []
if hasattr(settings, 'LAZY_TAXONOMY_SOURCES'):
SUPPORTED_LAZY_TAXONOMY_SOURCES = [db[0] for db in settings.LAZY_TAXONOMY_SOURCES]

##################################################################################################################
#
Expand Down

0 comments on commit a5d9fa9

Please sign in to comment.