core icon indicating copy to clipboard operation
core copied to clipboard

workspace find --download prints None for each file

Open bertsky opened this issue 1 year ago • 1 comments
trafficstars

Currently, running ocrd workspace find --download will download files, but print None for every file it downloaded (instead of the new local_filename).

The cause is that ret_entry does not get updated after download_file:

https://github.com/OCR-D/core/blob/c5b5580ba5c517e6ee151a5b3a1d8fe1b3ba0d88/src/ocrd/cli/workspace.py#L468-L488

bertsky avatar Mar 20 '24 09:03 bertsky

Is this a revival of #1148 BTW?

bertsky avatar Mar 21 '24 23:03 bertsky