DistributedProofreaders / dproofreaders

Distributed Proofreaders is a web application intended to ease the process of converting public domain books into e-texts.
https://www.pgdp.net
GNU General Public License v2.0
46 stars 28 forks source link

Don't die if metadata.json creation fails #1210

Closed cpeel closed 1 month ago

cpeel commented 1 month ago

Editing project information can happen even if the project directory doesn't exist (the project has been deleted or archived). In those cases, just don't generate the metadata.json file instead of failing.

Sandbox: https://www.pgdp.org/~cpeel/c.branch/fix-edit-deleted-project/