mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Fix fail paste
This commit is contained in:
parent
986d60d370
commit
5f9dc42950
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ class LibrarySync(threading.Thread):
|
||||||
showTotalCount = ReadKodiDB().getShowTotalCount(showId, connection, cursor)
|
showTotalCount = ReadKodiDB().getShowTotalCount(showId, connection, cursor)
|
||||||
self.logMsg("ShowTotalCount: %s" % showTotalCount, 0)
|
self.logMsg("ShowTotalCount: %s" % showTotalCount, 0)
|
||||||
# If there are no episodes left
|
# If there are no episodes left
|
||||||
if not showTotalCount:
|
if showTotalCount == 0 or showTotalCount == None:
|
||||||
# Delete show
|
# Delete show
|
||||||
embyId = ReadKodiDB().getEmbyIdByKodiId(showId, "tvshow", connection, cursor)
|
embyId = ReadKodiDB().getEmbyIdByKodiId(showId, "tvshow", connection, cursor)
|
||||||
self.logMsg("Message: Doing LibraryChanged: Deleting show: %s" % embyId, 0)
|
self.logMsg("Message: Doing LibraryChanged: Deleting show: %s" % embyId, 0)
|
||||||
|
|
Loading…
Reference in a new issue