Skip to content

Commit

Permalink
Resolves GeoNode#6925: fix lgmt bot issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Feb 15, 2021
1 parent 8007312 commit d8edeb6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion geonode/layers/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,6 @@ def layer_metadata(
this feature will be removed in next releases', DeprecationWarning)
layer_tkeywords = layer.tkeywords.all()
tkeywords_list = ''
lang = 'en' # TODO: use user's language
if layer_tkeywords and len(layer_tkeywords) > 0:
tkeywords_ids = layer_tkeywords.values_list('id', flat=True)
if hasattr(settings, 'THESAURUS') and settings.THESAURUS:
Expand Down

0 comments on commit d8edeb6

Please sign in to comment.