archive
/
md-pdf
Archived
1
Fork 0

Merge pull request #3 from sedders123/windows_support

Basic Windows support
This commit is contained in:
Jake Howard 2017-05-03 11:46:45 +01:00 committed by GitHub
commit bbc669ca92
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,6 @@ def download_csl():
bar = ProgressBar()
remove_dir(CSL_DIR)
remove_dir(CSL_DOWNLOAD_LINK)
def download_handle(count, block_size, total_size):
bar.update(int(count * block_size * 100 / total_size))
@ -48,6 +47,7 @@ def download_csl():
bar.finish()
logger.info("Cleaning Up...")
os.close(_)
shutil.copytree(CSL_TEMP_DIR, CSL_DIR)
os.remove(download_location)
remove_dir(CSL_TEMP_DIR)