From 734c68b89ae9981638096f4733cf5777c93fbedb Mon Sep 17 00:00:00 2001 From: nitolar play <73779998+nitolar@users.noreply.github.com> Date: Wed, 27 Sep 2023 21:59:50 +0200 Subject: [PATCH] Added mention of Star Rail in FileNotFoundError error --- genshin/utility/logfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genshin/utility/logfile.py b/genshin/utility/logfile.py index a4cdf377..5b95ebd9 100644 --- a/genshin/utility/logfile.py +++ b/genshin/utility/logfile.py @@ -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: