From adf429848f971f2bafa0b44448efabac2a6199c6 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Sat, 17 Feb 2024 23:27:01 +0530 Subject: [PATCH] chore: Fix misleading comment location. --- src/tartex/tartex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tartex/tartex.py b/src/tartex/tartex.py index 862e37f..b52adb6 100644 --- a/src/tartex/tartex.py +++ b/src/tartex/tartex.py @@ -229,8 +229,6 @@ def input_files(self): the fls file in the same dir. """ if not self.main_file.with_suffix(".fls").exists() or self.recompile: - # If .fls exists, this assumes that all INPUT files recorded in it - # are also included in source dir with TemporaryDirectory() as compile_dir: log.info( "%s.fls file not found in %s", @@ -255,6 +253,8 @@ def input_files(self): self.main_file.with_suffix(f".{ext}") ] = app else: + # If .fls exists, this assumes that all INPUT files recorded in it + # are also included in source dir with open(self.main_file.with_suffix(".fls"), encoding="utf-8") as f: deps = _latex.fls_input_files(f, self.excl_files, AUXFILES)