From f8682fb8cb4a28214fccb8662d386d90ba9cecec Mon Sep 17 00:00:00 2001 From: Croneter Date: Tue, 1 May 2018 16:33:49 +0200 Subject: [PATCH] Fix AttributeErrors --- resources/lib/plexdb_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/plexdb_functions.py b/resources/lib/plexdb_functions.py index b4ebdeae..782da994 100644 --- a/resources/lib/plexdb_functions.py +++ b/resources/lib/plexdb_functions.py @@ -456,7 +456,7 @@ class Plex_DB_Functions(): playlist.plex_name = answ[1] playlist.plex_updatedat = answ[2] playlist.kodi_path = answ[3] - playlist.kodi_type = answ[4] + playlist.type = answ[4] playlist.kodi_hash = answ[5] return playlist @@ -473,7 +473,7 @@ class Plex_DB_Functions(): self.plexcursor.execute(query, (playlist.id, playlist.plex_name, playlist.plex_updatedat, playlist.kodi_path, - playlist.kodi_type, playlist.kodi_hash)) + playlist.type, playlist.kodi_hash)) def delete_playlist_entry(self, playlist): """