mirror of
https://github.com/lutris/lutris
synced 2024-11-05 18:10:49 +00:00
Tone down the logging for missing games; don't bother to log when one game is being checked.
This happens a lot if you are selecting games one after the other (ie, via arrow keys) and it spams the log.
This commit is contained in:
parent
69dea32f57
commit
1e532b0405
1 changed files with 3 additions and 1 deletions
|
@ -268,13 +268,15 @@ class MissingGames:
|
|||
def _update_missing_games(self, game_ids):
|
||||
"""This is the method that runs on the worker thread; it checks each game given
|
||||
and returns True if any changes to missing_game_ids was made."""
|
||||
logger.debug("Checking for missing games")
|
||||
|
||||
changed = False
|
||||
path_cache = get_path_cache()
|
||||
if game_ids is None:
|
||||
game_ids = path_cache
|
||||
|
||||
if len(game_ids) > 1:
|
||||
logger.debug("Checking for %d missing games", len(game_ids))
|
||||
|
||||
for game_id in game_ids:
|
||||
path = path_cache.get(game_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue