Use variable

This commit is contained in:
Jake Howard 2017-03-31 18:34:42 +01:00
parent b2316e7351
commit aa6713eaa6

View file

@ -21,7 +21,7 @@ def download_csl():
bar = ProgressBar()
remove_dir(CSL_DIR)
remove_dir(os.path.join(ASSET_DIR, 'styles-master'))
remove_dir(CSL_DOWNLOAD_LINK)
def download_handle(count, block_size, total_size):
bar.update(int(count * block_size * 100 / total_size))