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:
parent
74ff7899c4
commit
1b57533bd8
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user