Merge pull request #1214 from croneter/fix-ValueError

Fix ValueError: invalid literal for int() with base 10 during show sync
This commit is contained in:
croneter 2020-09-19 20:44:44 +02:00 committed by GitHub
commit b50414ebd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ class FillMetadataQueue(common.LibrarySyncMixin,
checksum = int('{}{}'.format( checksum = int('{}{}'.format(
plex_id, plex_id,
xml.get('updatedAt', xml.get('updatedAt',
xml.get('addedAt', '1541572987')))) xml.get('addedAt', '1541572987')).replace('-', '')))
if (not self.repair and if (not self.repair and
plexdb.checksum(plex_id, section.plex_type) == checksum): plexdb.checksum(plex_id, section.plex_type) == checksum):
continue continue