mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove superfluous `or ''
` from a conditional
This commit is contained in:
parent
7a7cb6d418
commit
6a1ea849c2
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user