Merge pull request #3 from sedders123/windows_support
Basic Windows support
This commit is contained in:
commit
bbc669ca92
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue