sessions / c16b61db40f8376563a4d996b56e711fe02a5754

/home/powellc/src/code.unbl.ink/secstate/vrobbler

This commit has no recorded session.

diff

ignore whitespace

commit c16b61db40f8376563a4d996b56e711fe02a5754Author: Colin Powell <colin@unbl.ink>Date:   Thu Jun 11 10:48:38 2026 -0400    [importers] Fix strange bug where celery version mismatchesdiff --git a/vrobbler/apps/scrobbles/importers/webdav.py b/vrobbler/apps/scrobbles/importers/webdav.pyindex e9f3cb3..d3c3f37 100644--- a/vrobbler/apps/scrobbles/importers/webdav.py+++ b/vrobbler/apps/scrobbles/importers/webdav.py@@ -153,7 +153,7 @@ def scan_webdav_for_koreader(     )      if update_etag_only:-        if last_import and remote_etag:+        if last_import and remote_etag and hasattr(last_import, "webdav_etag"):             last_import.webdav_etag = remote_etag             last_import.save(update_fields=["webdav_etag"])             logger.info(@@ -163,7 +163,7 @@ def scan_webdav_for_koreader(             )         return 0 -    if last_import and last_import.webdav_etag and remote_etag:+    if last_import and getattr(last_import, "webdav_etag", None) and remote_etag:         if last_import.webdav_etag == remote_etag:             logger.info(                 "koreader stats file unchanged (ETag match)",diff --git a/vrobbler/apps/scrobbles/scrobblers.py b/vrobbler/apps/scrobbles/scrobblers.pyindex c9e0bf5..9fec95f 100644--- a/vrobbler/apps/scrobbles/scrobblers.py+++ b/vrobbler/apps/scrobbles/scrobblers.py@@ -540,6 +540,7 @@ def email_scrobble_board_game(             "playback_position_seconds": duration_seconds,             "source": "BG Stats",             "log": log_data,+            "visibility": "private",         }          scrobble = None@@ -1152,7 +1153,7 @@ def web_scrobbler_scrobble_video_or_song(     artist_name = data_dict.get("artist")     track_name = data_dict.get("track")     tracks = Track.objects.filter(-        artist__name=data_dict.get("artist"), title=data_dict.get("track")+        artist_fk__name=data_dict.get("artist"), title=data_dict.get("track")     )     if tracks.count() > 1:         logger.warning(