mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Ignore scrobbles without a rawscrobble
This commit is contained in:
parent
c457b58ab8
commit
85bb1f36cc
@ -117,7 +117,7 @@ def reparse_scrobble(timestamp):
|
|||||||
log(f"Reparsing Scrobble {timestamp}")
|
log(f"Reparsing Scrobble {timestamp}")
|
||||||
scrobble = sqldb.get_scrobble(timestamp)
|
scrobble = sqldb.get_scrobble(timestamp)
|
||||||
|
|
||||||
if not scrobble:
|
if not scrobble or not scrobble['rawscrobble']:
|
||||||
return
|
return
|
||||||
|
|
||||||
scrobbledict = rawscrobble_to_scrobbledict(scrobble['rawscrobble'])
|
scrobbledict = rawscrobble_to_scrobbledict(scrobble['rawscrobble'])
|
||||||
|
Loading…
Reference in New Issue
Block a user