[boardgames] Fix bug in bgstats importer
All checks were successful
build & deploy / test (push) Successful in 2m8s
build & deploy / build-and-deploy (push) Successful in 33s

This commit is contained in:
2026-05-22 12:51:06 -04:00
parent dd2f44e72f
commit 56745b33f4

View File

@ -329,10 +329,10 @@ def scan_webdav_for_bgstats(webdav_client, user_id):
parsed_json = json.load(f)
scrobbles = email_scrobble_board_game(parsed_json, user_id)
logger.info(
"BG Stats import from %s created %d scrobble(s)",
"BG Stats import from %s for user %d created %d scrobble(s)",
fname,
user_id,
len(scrobbles),
extra={"user_id": user_id, "filename": fname},
)
processed += 1
except Exception as e: