Fix display of item numbers during playstate sync
This commit is contained in:
parent
b55b22efb0
commit
6510d5e399
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class FullSync(common.LibrarySyncMixin, backgroundthread.KillableThread):
|
||||||
context.plexdb.update_last_sync(int(xml.attrib['ratingKey']),
|
context.plexdb.update_last_sync(int(xml.attrib['ratingKey']),
|
||||||
section.plex_type,
|
section.plex_type,
|
||||||
self.current_time)
|
self.current_time)
|
||||||
self.update_progressbar(section, '', section.count)
|
self.update_progressbar(section, '', section.count - 1)
|
||||||
if section.count % PLAYSTATE_BATCH_SIZE == 0:
|
if section.count % PLAYSTATE_BATCH_SIZE == 0:
|
||||||
context.commit()
|
context.commit()
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
|
|
Loading…
Reference in a new issue