From b9d990ac6a401d95eb25a006cd78a51d5cf0ff5a Mon Sep 17 00:00:00 2001 From: Natalie Foust-Pilcher Date: Thu, 12 Jun 2014 14:48:15 -0400 Subject: [PATCH] Fixed another error created by my last fix --- mediagoblin/plugins/metadata_display/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/plugins/metadata_display/lib.py b/mediagoblin/plugins/metadata_display/lib.py index 2530d00f..c00bb0f6 100644 --- a/mediagoblin/plugins/metadata_display/lib.py +++ b/mediagoblin/plugins/metadata_display/lib.py @@ -21,7 +21,7 @@ def rdfa_to_readable(rdfa_predicate): """ components = rdfa_predicate.split(u":") if len(components) >= 2: - readable = [1].capitalize() + readable = components[1].capitalize() else: readable = u"" return readable -- 2.25.1