Less logging

This commit is contained in:
croneter 2019-03-10 11:25:02 +01:00
parent 9ba49a663e
commit 62ecefdcca

View file

@ -54,8 +54,8 @@ def create(plex_id):
else: else:
number = int(occurance.group(1)) + 1 number = int(occurance.group(1)) + 1
if number > 3: if number > 3:
LOG.error('Detected spanning tree issue, abort sync for %s', LOG.warn('Detected spanning tree issue, abort sync for %s',
playlist) playlist)
raise PlaylistError('Spanning tree warning') raise PlaylistError('Spanning tree warning')
basename = re.sub(REGEX_FILE_NUMBERING, '', path) basename = re.sub(REGEX_FILE_NUMBERING, '', path)
path = '%s_%02d.m3u' % (basename, number) path = '%s_%02d.m3u' % (basename, number)