Fix TypeError

This commit is contained in:
croneter 2018-11-05 10:10:42 +01:00
parent 417aefd588
commit 35c87856fd

View file

@ -53,8 +53,7 @@ class Music(object):
last_sync)) last_sync))
def add_song(self, plex_id, checksum, section_id, artist_id, grandparent_id, def add_song(self, plex_id, checksum, section_id, artist_id, grandparent_id,
album_id, parent_id, kodi_id, kodi_fileid, kodi_pathid, album_id, parent_id, kodi_id, kodi_pathid, last_sync):
last_sync):
""" """
Appends or replaces an entry into the plex table Appends or replaces an entry into the plex table
""" """
@ -68,10 +67,9 @@ class Music(object):
album_id, album_id,
parent_id, parent_id,
kodi_id, kodi_id,
kodi_fileid,
kodi_pathid, kodi_pathid,
last_sync) last_sync)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
''' '''
self.cursor.execute( self.cursor.execute(
query, query,
@ -83,7 +81,6 @@ class Music(object):
album_id, album_id,
parent_id, parent_id,
kodi_id, kodi_id,
kodi_fileid,
kodi_pathid, kodi_pathid,
last_sync)) last_sync))