Skip to content

Commit

Permalink
Merge pull request #735 from Die4Ever/develop
Browse files Browse the repository at this point in the history
installer fix DXRSplits.ini backup when file not found
  • Loading branch information
Die4Ever authored May 1, 2024
2 parents 2d9a0f2 + f918723 commit a1cdc4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer/Install/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ def _ReadConfig(text:str) -> OrderedDict:


def BackupSplits(splitsPath:Path):
if not splitsPath.exists():
return
splits = Config(splitsPath.read_bytes())
found_splits = CheckSplits(splits, ['PB', 'Golds', 'Avgs'])
if found_splits:
Expand Down

0 comments on commit a1cdc4f

Please sign in to comment.