Skip to content

Commit 966aeb6

Browse files
Ensure log directory is created if missing
1 parent e007d99 commit 966aeb6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

games/game_baldursgate3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ def _base_dlls(self) -> set[str]:
179179
def _on_finished_run(self, exec_path: str, exit_code: int):
180180
if "bin/bg3" not in exec_path:
181181
return
182+
self.utils.log_dir.mkdir(parents=True, exist_ok=True)
182183
if self.utils.log_diff:
183184
for x in difflib.unified_diff(
184185
open(self.utils.modsettings_backup).readlines(),

0 commit comments

Comments
 (0)