[boardgames] Fix bug in bgstats importer
This commit is contained in:
@ -329,10 +329,10 @@ def scan_webdav_for_bgstats(webdav_client, user_id):
|
|||||||
parsed_json = json.load(f)
|
parsed_json = json.load(f)
|
||||||
scrobbles = email_scrobble_board_game(parsed_json, user_id)
|
scrobbles = email_scrobble_board_game(parsed_json, user_id)
|
||||||
logger.info(
|
logger.info(
|
||||||
"BG Stats import from %s created %d scrobble(s)",
|
"BG Stats import from %s for user %d created %d scrobble(s)",
|
||||||
fname,
|
fname,
|
||||||
|
user_id,
|
||||||
len(scrobbles),
|
len(scrobbles),
|
||||||
extra={"user_id": user_id, "filename": fname},
|
|
||||||
)
|
)
|
||||||
processed += 1
|
processed += 1
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user