Try update csl
This commit is contained in:
parent
b8e515089f
commit
44bf3c962f
2 changed files with 2 additions and 0 deletions
|
@ -22,4 +22,5 @@ test:
|
||||||
- flake8 md_pdf/ --ignore=E128,E501
|
- flake8 md_pdf/ --ignore=E128,E501
|
||||||
- safety check
|
- safety check
|
||||||
- bandit -r md_pdf/
|
- bandit -r md_pdf/
|
||||||
|
- mdp --update-csl
|
||||||
- cd test-files/ && mdp -vvv
|
- cd test-files/ && mdp -vvv
|
||||||
|
|
|
@ -26,6 +26,7 @@ def download_csl():
|
||||||
remove_dir(CSL_DIR)
|
remove_dir(CSL_DIR)
|
||||||
|
|
||||||
def download_handle(count, block_size, total_size):
|
def download_handle(count, block_size, total_size):
|
||||||
|
print(count, block_size, total_size, int(count * block_size * 100 / total_size))
|
||||||
bar.update(int(count * block_size * 100 / total_size))
|
bar.update(int(count * block_size * 100 / total_size))
|
||||||
|
|
||||||
_, download_location = tempfile.mkstemp()
|
_, download_location = tempfile.mkstemp()
|
||||||
|
|
Reference in a new issue