Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
bookshare
Commits
51f28c46
Commit
51f28c46
authored
Mar 03, 2020
by
Daniel W Bond
Browse files
use title case for titles, as some json responses from openlibrary are all lowercase
parent
ad60a422
Changes
1
Hide whitespace changes
Inline
Side-by-side
bookshare/trades/utils.py
View file @
51f28c46
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment