From: Natalie Foust-Pilcher Date: Thu, 12 Jun 2014 18:48:15 +0000 (-0400) Subject: Fixed another error created by my last fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b9d990ac6a401d95eb25a006cd78a51d5cf0ff5a;p=mediagoblin.git Fixed another error created by my last fix --- 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