From 230330d647529a951eb9d48b5c92417d62c6394f Mon Sep 17 00:00:00 2001 From: NeonKirill Date: Sun, 30 Jun 2024 15:00:26 +0200 Subject: [PATCH] added working dir --- scripts/file_merger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/file_merger.py b/scripts/file_merger.py index fa092bcc..c3d37c33 100644 --- a/scripts/file_merger.py +++ b/scripts/file_merger.py @@ -162,7 +162,7 @@ def run(self): self.current_content += "\n" + content matching_dirs = self.weighted_dirs.get(str(weight), ()) for folder in matching_dirs: - self.walk_tree(join(self.working_dir, folder)) + self.walk_tree(folder) with open(os.path.join(self.working_dir, self.save_to), "w") as f: f.write(self.current_content) self.current_content = ""