Explorar el Código

[music] Turns out lastfm already has our timeszone

Colin Powell hace 4 semanas
padre
commit
c20204a6ea
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      vrobbler/apps/scrobbles/importers/lastfm.py

+ 1 - 3
vrobbler/apps/scrobbles/importers/lastfm.py

@@ -50,9 +50,7 @@ class LastFM:
                 enrich=True,
             )
 
-            timestamp = self.vrobbler_user.profile.get_timestamp_with_tz(
-                lfm_scrobble.get("timestamp")
-            )
+            timestamp = lfm_scrobble.get("timestamp")
             stop_timestamp = timestamp + timedelta(
                 seconds=track.run_time_seconds
             )