From 565eaf58c8b62820695dd26ce6ccd3eefce8cb4a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 9 Apr 2017 14:14:27 +0100 Subject: [PATCH] Make error message more useful --- md_pdf/csl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/md_pdf/csl.py b/md_pdf/csl.py index 6186d2c..bd8f08e 100644 --- a/md_pdf/csl.py +++ b/md_pdf/csl.py @@ -17,7 +17,7 @@ CSL_TEMP_DIR = os.path.join(ASSET_DIR, 'styles-master') def check_csl(): if not os.path.isdir(CSL_DIR) or os.listdir(CSL_DIR) == []: - raise PrematureExit("No CSL files found!") + raise PrematureExit("No CSL files found! Run again with --update-csl") def download_csl():