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
1 changed files with 1 additions and 1 deletions

View File

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