Fix TypeError

This commit is contained in:
croneter 2018-10-29 13:26:58 +01:00
parent ce002a0fa8
commit fbaccdf4bf

View file

@ -84,7 +84,9 @@ class FullSync(backgroundthread.KillableThread, common.libsync_mixin):
if self.plexdb.checksum(plex_id, self.plex_type) == \ if self.plexdb.checksum(plex_id, self.plex_type) == \
int('%s%s' % (plex_id, int('%s%s' % (plex_id,
xml_item.get('updatedAt'))): xml_item.get('updatedAt'))):
self.plexdb.update_last_sync(plex_id, self.last_sync) self.plexdb.update_last_sync(plex_id,
self.plex_type,
self.last_sync)
return return
task = GetMetadataTask() task = GetMetadataTask()
task.setup(self.queue, plex_id, self.get_children) task.setup(self.queue, plex_id, self.get_children)