Skip to content

Commit ca7a8ad

Browse files
committed
Re-use PdfBuilder.uses_miktex attribute
1 parent ccff9c4 commit ca7a8ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/builder/traditional_builder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from logging import DEBUG
88
from typing import TYPE_CHECKING
99

10-
from ...latextools.utils.distro_utils import using_miktex
1110
from ...latextools.utils.logging import logger
1211

1312
if TYPE_CHECKING:
@@ -56,7 +55,7 @@ def commands(self) -> CommandGenerator:
5655
if not cmd:
5756
cmd = self.builder_settings.get("command")
5857
if not cmd:
59-
if using_miktex():
58+
if self.uses_miktex:
6059
cmd = DEFAULT_COMMAND_TEXIFY.copy()
6160
else:
6261
cmd = DEFAULT_COMMAND_LATEXMK.copy()

0 commit comments

Comments
 (0)