From 44bf3c962fda85d27130d6f76261394942b41e8f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 3 May 2017 20:53:39 +0100 Subject: [PATCH] Try update csl --- circle.yml | 1 + md_pdf/csl.py | 1 + 2 files changed, 2 insertions(+) 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()