From cb6ce84ad60702931a9ce0cf144abbd2d5fa4a5a Mon Sep 17 00:00:00 2001 From: Mc-muffin <8714476+Mc-muffin@users.noreply.github.com> Date: Sat, 30 Nov 2024 09:31:59 -0500 Subject: [PATCH] Wire up --only-changed flag --- pythonlib/games/ToolsTOR.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pythonlib/games/ToolsTOR.py b/pythonlib/games/ToolsTOR.py index 114d750..06db7cb 100644 --- a/pythonlib/games/ToolsTOR.py +++ b/pythonlib/games/ToolsTOR.py @@ -474,6 +474,9 @@ class ToolsTOR(ToolsTales): return theirsce def get_changed_targets(self, target_files: list[tuple[Path, Path, Path]]) -> list[tuple[Path, Path, Path]]: + if not self.changed_only: + return target_files + changed: list[tuple[Path, Path, Path]] = list() for o, t, s in target_files: t_mod_time = os.path.getmtime(t)