Skip to content

Commit

Permalink
Added mention of Star Rail in FileNotFoundError error
Browse files Browse the repository at this point in the history
  • Loading branch information
nitolar authored Sep 27, 2023
1 parent 598348a commit 734c68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genshin/utility/logfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _search_output_log(content: str) -> pathlib.Path:
match2 = re.search(r'([A-Z]:/.*?/YuanShen_Data)', content, re.MULTILINE)
match3 = re.search(r'([A-Z]:/.*?/StarRail_Data)', content, re.MULTILINE)
if match1 is None and match2 is None and match3 is None:
raise FileNotFoundError("No genshin installation location in logfile")
raise FileNotFoundError("No Genshin/Star Rail installation location in logfile")

match = None
if match1 is not None:
Expand Down

0 comments on commit 734c68b

Please sign in to comment.