pyfpdf
pyfpdf copied to clipboard
Fixed JPEGs not being closed correctly
Currently, when a JPEG image() is added to a PDF, the file is not properly closed. This prevents modifying the files until the entire program has quit. This pull request essentially changes 1 line in order to properly close JPEG files once they are done being used by PyFPDF.
Note the that this bug has been fixed in fpdf2