Check for csl
This commit is contained in:
parent
34c7dde3ed
commit
9a52015397
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ def validate_bibliography(config):
|
|||
return
|
||||
if 'references' not in config['bibliography']:
|
||||
raise ConfigValidationException("Missing References Path")
|
||||
if 'csl' not in config['bibliography']:
|
||||
raise ConfigValidationException("Missing CSL Name")
|
||||
|
||||
abs_bibliography = os.path.abspath(config['bibliography']['references'])
|
||||
if not os.path.isfile(abs_bibliography):
|
||||
|
|
Reference in a new issue