Allow date option to be unspecified, fix 245$h handling
authorDan Scott <dan@coffeecode.net>
Tue, 7 Apr 2020 20:02:10 +0000 (16:02 -0400)
committerDan Scott <dan@coffeecode.net>
Tue, 7 Apr 2020 20:02:10 +0000 (16:02 -0400)
commit2f78b06c4589b3d486fa6ee96bf1d8236129e615
tree51a4558abb2db220b6cae7ef955250c6af4312d7
parent056caae1244bb881431d7a197d0965355ab3cf8e
Allow date option to be unspecified, fix 245$h handling

We had always been adding the last two characters of 245$h, even if they
were just "].", which messes up some records. Let's only add them if
they are " /".

Signed-off-by: Dan Scott <dan@coffeecode.net>
tools/ebooks/prep_ebook_records.py