Fix OperationalError
This commit is contained in:
parent
fddd374b79
commit
7387b89d28
1 changed files with 1 additions and 2 deletions
|
@ -488,8 +488,7 @@ class Episode(ItemBase, TvShowMixin):
|
|||
kodi_pathid,
|
||||
api.date_created())
|
||||
|
||||
rating_id = self.kodidb.get_ratingid(kodi_id,
|
||||
v.KODI_TYPE_EPISODE)
|
||||
rating_id = self.kodidb.add_ratingid()
|
||||
self.kodidb.add_ratings(rating_id,
|
||||
kodi_id,
|
||||
v.KODI_TYPE_EPISODE,
|
||||
|
|
Loading…
Reference in a new issue