mirror of
https://github.com/lutris/lutris
synced 2024-11-05 18:10:49 +00:00
Fix log window not showing logs after game closed
LOG_BUFFERS is keyed by game id string, not integer
This commit is contained in:
parent
7a58176c06
commit
6d56b2ef10
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class GameActions:
|
|||
|
||||
def on_show_logs(self, _widget):
|
||||
"""Display game log"""
|
||||
_buffer = LOG_BUFFERS.get(self.game.id)
|
||||
_buffer = LOG_BUFFERS.get(str(self.game.id))
|
||||
if not _buffer:
|
||||
logger.info("No log for game %s", self.game)
|
||||
return LogWindow(
|
||||
|
|
Loading…
Reference in a new issue