Menu

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

v1.0 (example)
closed
None
5
2026-03-23
2026-03-02
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

  • Al von Ruff

    Al von Ruff - 2026-03-23

    Ticket moved from /p/isfdb/feature-requests/1697/

     
  • Al von Ruff

    Al von Ruff - 2026-03-23
    • assigned_to: Al von Ruff
    • Group: Approved --> v1.0 (example)
     
  • Al von Ruff

    Al von Ruff - 2026-03-23
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB