NYPL-Simplified / server_core

Shared data model and utilities for Library Simplified server applications
7 stars 11 forks source link

Fix two Python 3 conversion errors in Overdrive code #1260

Closed leonardr closed 3 years ago

leonardr commented 3 years ago

This branch fixes two Python 3 conversion problems in Overdrive code:

In addition to the unit tests, I ran the overdrive_format_sweep, overdrive_monitor_recent, and overdrive_new_titles scripts using the QA database. Without the first fix in place, all three scripts would fail immediately. Without the second fix in place, a couple of these scripts (overdrive_monitor_recent and overdrive_format_sweep, I think) would fail pretty quickly.