diff --git a/circle.yml b/circle.yml index 3bcfb2b..9ee76d2 100644 --- a/circle.yml +++ b/circle.yml @@ -22,4 +22,5 @@ test: - flake8 md_pdf/ --ignore=E128,E501 - safety check - bandit -r md_pdf/ + - mdp --update-csl - cd test-files/ && mdp -vvv diff --git a/md_pdf/csl.py b/md_pdf/csl.py index 3bf07c6..42ab5e5 100644 --- a/md_pdf/csl.py +++ b/md_pdf/csl.py @@ -26,6 +26,7 @@ def download_csl(): remove_dir(CSL_DIR) 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)) _, download_location = tempfile.mkstemp()