1
0
mirror of https://github.com/lutris/lutris synced 2024-07-05 16:38:42 +00:00

Remove log about PROTONPATH. Show playtime log in seconds

This commit is contained in:
Mathieu Comandon 2024-03-25 16:58:08 -07:00
parent 74ff7899c4
commit 1b57533bd8
2 changed files with 2 additions and 2 deletions

View File

@ -897,7 +897,7 @@ class Game(GObject.Object):
def stop_game(self):
"""Cleanup after a game as stopped"""
duration = self.timer.duration
logger.debug("%s has run for %s seconds", self, duration)
logger.debug("%s has run for %d seconds", self, duration)
if duration < 5:
logger.warning("The game has run for a very short time, did it crash?")
# Inspect why it could have crashed

View File

@ -1120,7 +1120,7 @@ class wine(Runner):
try:
env["PROTONPATH"] = wine_exe[: wine_exe.index("dist/bin")]
except ValueError:
logger.info("Not setting PROTONPATH for %s", wine_exe)
pass
return env
def get_runtime_env(self):