Skip to content

Commit

Permalink
Fixed bug using wrong model
Browse files Browse the repository at this point in the history
  • Loading branch information
jekil committed Nov 24, 2015
1 parent 0a3e810 commit 4888be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyses/templatetags/analyses_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_metadata_description(key):
@return: metadata key description
"""
try:
data = Analysis.objects.get(key=key.lower())
data = AnalysisMetadataDescription.objects.get(key=key.lower())
except AnalysisMetadataDescription.DoesNotExist:
return "Description not available."
else:
Expand Down

0 comments on commit 4888be9

Please sign in to comment.