From ce213221175776f84f47577da4289749d2dc9afe Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sat, 18 Jun 2022 18:34:06 +0100 Subject: [PATCH] Clean up last played time in update_display --- app/playlists.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/playlists.py b/app/playlists.py index e6a0be7..9961332 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -885,8 +885,7 @@ class PlaylistTab(QTableWidget): # This is a track row other than next or current if row in played: # Played today, so update last played column - last_playedtime = Playdates.last_played( - session, track.id) + last_playedtime = track.lastplayed last_played_str = get_relative_date(last_playedtime) self.item(row, self.COL_LAST_PLAYED).setText( last_played_str)