Fix logfilereader not detecting games (#40)

This commit is contained in:
TSRBerry 2023-04-20 07:41:18 +02:00 committed by GitHub
parent 3a0230259a
commit 20a7d0506c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -420,7 +420,7 @@ class LogFileReader(Cog):
try:
self.embed["game_info"]["game_name"] = (
re.search(
r"Loader LoadNca: Application Loaded:\s([^;\n\r]*)",
r"Loader [A-Za-z]*: Application Loaded:\s([^;\n\r]*)",
log_file,
re.MULTILINE,
)