Skip to content

Commit

Permalink
added working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed Jun 30, 2024
1 parent 2c67a6d commit 230330d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/file_merger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit 230330d

Please sign in to comment.