Fixed another error created by my last fix

This commit is contained in:
Natalie Foust-Pilcher 2014-06-12 14:48:15 -04:00
parent 32ba7efcfc
commit b9d990ac6a

View 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