Remove superfluous `or ''` from a conditional

This commit is contained in:
jfbu 2019-10-06 21:18:38 +02:00
parent 7a7cb6d418
commit 6a1ea849c2

View File

@ -418,7 +418,7 @@ def default_latex_engine(config: Config) -> str:
return 'platex'
elif (config.language or '').startswith('zh'):
return 'xelatex'
elif (config.language or '') == 'el':
elif config.language == 'el':
return 'xelatex'
else:
return 'pdflatex'