passbook icon indicating copy to clipboard operation
passbook copied to clipboard

File output causes IOError because of temp_file.close

Open jeffblake opened this issue 10 years ago • 1 comments

Removing the call to .close will fix it. You can't access an instance of Tempfile after close is called. Perhaps adding another method like pass.cleanup! that closes the temp file is a good idea.

jeffblake avatar Jan 17 '15 19:01 jeffblake

Hi, Could you please provide a use case in order to reproduce this IOError

frozon avatar Jan 18 '15 03:01 frozon