Don't bother trying to iterate refresh_ids if it's empty.
This commit is contained in:
parent
6aeff3bc9f
commit
b33a01065e
1 changed files with 4 additions and 5 deletions
|
@ -199,7 +199,6 @@ class Channel(ObjectBase):
|
||||||
|
|
||||||
if refresh_ids:
|
if refresh_ids:
|
||||||
log.debug('Refreshing %d ids separately.', len(refresh_ids))
|
log.debug('Refreshing %d ids separately.', len(refresh_ids))
|
||||||
|
|
||||||
# We call ingest_video instead of insert_video so that
|
# We call ingest_video instead of insert_video so that
|
||||||
# premieres / livestreams which have finished can be automarked.
|
# premieres / livestreams which have finished can be automarked.
|
||||||
for video_id in self.ycdldb.youtube.get_videos(refresh_ids):
|
for video_id in self.ycdldb.youtube.get_videos(refresh_ids):
|
||||||
|
|
Loading…
Reference in a new issue