Verbose download of CSL
This commit is contained in:
parent
a7117a8f5c
commit
dbe4e8ae7c
2 changed files with 2 additions and 2 deletions
|
@ -23,6 +23,6 @@ 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
|
- mdp --update-csl -vvv
|
||||||
- cd test-files/ && mdp -vvv
|
- cd test-files/ && mdp -vvv
|
||||||
- scripts/run-tests.sh
|
- scripts/run-tests.sh
|
||||||
|
|
|
@ -39,7 +39,7 @@ def download_csl():
|
||||||
with open(download_location, 'rb') as downloaded_file:
|
with open(download_location, 'rb') as downloaded_file:
|
||||||
with zipfile.ZipFile(downloaded_file) as csl_zip:
|
with zipfile.ZipFile(downloaded_file) as csl_zip:
|
||||||
member_list = csl_zip.namelist()
|
member_list = csl_zip.namelist()
|
||||||
logger.info("Extracting CSL...")
|
logger.info("Extracting CSL to {}".format(ASSET_DIR))
|
||||||
bar.start(max_value=len(member_list))
|
bar.start(max_value=len(member_list))
|
||||||
|
|
||||||
for i, member in enumerate(member_list):
|
for i, member in enumerate(member_list):
|
||||||
|
|
Reference in a new issue