Commit 51f28c46 authored by Daniel W Bond's avatar Daniel W Bond

use title case for titles, as some json responses from openlibrary are all lowercase

parent ad60a422
......@@ -31,7 +31,7 @@ def ISBNMetadata(standardISBN):
full_title = '%s: %s' % (title, subtitle)
else:
full_title = title
metadataDict = {'title': full_title}
metadataDict = {'title': full_title.title()}
date = isbn_data.get('publish_date' ,'')
# unfortunately, dates are formatted in a variety of different ways
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment