Fixed another error created by my last fix
authorNatalie Foust-Pilcher <natalie.foust.pilcher@gmail.com>
Thu, 12 Jun 2014 18:48:15 +0000 (14:48 -0400)
committerNatalie Foust-Pilcher <natalie.foust.pilcher@gmail.com>
Thu, 12 Jun 2014 18:48:15 +0000 (14:48 -0400)
mediagoblin/plugins/metadata_display/lib.py

index 2530d00f40c0165d03e33923321d581492a37cca..c00bb0f63fbf6888a63f671bf17084e13bcb75b7 100644 (file)
@@ -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