Menu

#1697 Python3: biblio/title.py common/library.py Fix

Approved
open
nobody
None
5
3 days ago
3 days ago
Al von Ruff
No

After adding many titles and unice-heavy titles to biblio_compare.py, need to address two issues:

biblio/title.py

This will crash in the review section of some titles. Since the date is a datetime under python3, accessing a field thus:

sort_date = review[4]

will result in a crash. This is changed to:

sort_date = str(review[4])

common/library.py

Added :

target = target.encode("iso-8859-1")

before the call to urllib.parse.quote()

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB