From 4beafe7cfcfecbb16527aca0018d4ec6deb6854c Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sun, 1 Jan 2023 08:33:06 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20typo=20Session=E2=86=92session?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/musicmuster.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/musicmuster.py b/app/musicmuster.py index 64cf6a5..395c01c 100755 --- a/app/musicmuster.py +++ b/app/musicmuster.py @@ -797,7 +797,6 @@ class Window(QMainWindow, Ui_MainWindow): self.visible_playlist_tab().insert_track(session, track) self.visible_playlist_tab().save_playlist(session) - @helpers.function_logger("insert_header") def insert_header(self) -> None: """Show dialog box to enter header text and add to playlist""" @@ -1133,7 +1132,7 @@ class Window(QMainWindow, Ui_MainWindow): # Reset next track if there was one if original_next_plr_id: - next_plr = Session.get(PlaylistRows, original_next_plr_id) + next_plr = session.get(PlaylistRows, original_next_plr_id) self.this_is_the_next_playlist_row( session, next_plr, original_next_plr_playlist_tab)