diff options
Diffstat (limited to 'youtube_podcaster/podcastupdater.py')
| -rw-r--r-- | youtube_podcaster/podcastupdater.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_podcaster/podcastupdater.py b/youtube_podcaster/podcastupdater.py index 8afebfa..4ba4c8d 100644 --- a/youtube_podcaster/podcastupdater.py +++ b/youtube_podcaster/podcastupdater.py | |||
| @@ -71,7 +71,7 @@ class PodcastUpdater: | |||
| 71 | feed = self.add_feed(feed_id, yt_playlist) | 71 | feed = self.add_feed(feed_id, yt_playlist) |
| 72 | 72 | ||
| 73 | if feed.last_updated < time.time() - 600: | 73 | if feed.last_updated < time.time() - 600: |
| 74 | self.populate_feed(feed, feed_id, yt_playlist) | 74 | self.populate_feed(feed, feed_id, yt_playlist, max_results=1) |
| 75 | feed.rss_file(feed_file) | 75 | feed.rss_file(feed_file) |
| 76 | 76 | ||
| 77 | with open(self.feeds_file, "wb") as feeds: | 77 | with open(self.feeds_file, "wb") as feeds: |
