diff --git a/md_pdf/csl.py b/md_pdf/csl.py index 7a18123..3bf07c6 100644 --- a/md_pdf/csl.py +++ b/md_pdf/csl.py @@ -46,8 +46,8 @@ def download_csl(): bar.finish() - os.close(_) logger.info("Cleaning Up...") + os.close(_) shutil.copytree(CSL_TEMP_DIR, CSL_DIR) os.remove(download_location) remove_dir(CSL_TEMP_DIR)