diff options
| author | 2015-10-21 20:14:51 +0000 | |
|---|---|---|
| committer | 2015-10-21 20:14:51 +0000 | |
| commit | f82c7f1d60bd6ce6b46d39e636158462e576fd8d (patch) | |
| tree | 8fb416c5720b3b4346bea05a92415918168584b0 /youtube_podcaster/podcastupdater.py | |
| parent | 29c193381133199ec914e834401033f085e813c9 (diff) | |
| download | youtube-podcaster-master.tar.gz youtube-podcaster-master.tar.bz2 youtube-podcaster-master.zip | |
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: |
