From 6a1ea849c2235bc10d862e8b900009c11592b02b Mon Sep 17 00:00:00 2001 From: jfbu Date: Sun, 6 Oct 2019 21:18:38 +0200 Subject: [PATCH] Remove superfluous ``or ''`` from a conditional --- sphinx/builders/latex/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/builders/latex/__init__.py b/sphinx/builders/latex/__init__.py index a8d811a49..9c34b5568 100644 --- a/sphinx/builders/latex/__init__.py +++ b/sphinx/builders/latex/__init__.py @@ -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'