From 3ae395f697278fbac5cccfef3b200ea0ca814904 Mon Sep 17 00:00:00 2001 From: krateng Date: Sun, 26 Feb 2023 15:50:37 +0100 Subject: [PATCH] Removed explicit column selection, GH-196 --- maloja/database/sqldb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maloja/database/sqldb.py b/maloja/database/sqldb.py index 957243b..61f0b38 100644 --- a/maloja/database/sqldb.py +++ b/maloja/database/sqldb.py @@ -298,7 +298,7 @@ def get_track_id(trackdict,create_new=True,dbconn=None): op = DB['tracks'].select( - DB['tracks'].c.id +# DB['tracks'].c.id ).where( DB['tracks'].c.title_normalized==ntitle ) @@ -308,7 +308,7 @@ def get_track_id(trackdict,create_new=True,dbconn=None): foundtrackartists = [] op = DB['trackartists'].select( - DB['trackartists'].c.artist_id +# DB['trackartists'].c.artist_id ).where( DB['trackartists'].c.track_id==row[0] ) @@ -344,7 +344,7 @@ def get_artist_id(artistname,create_new=True,dbconn=None): #print("looking for",nname) op = DB['artists'].select( - DB['artists'].c.id +# DB['artists'].c.id ).where( DB['artists'].c.name_normalized==nname )