aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_podcaster/podcastupdater.py
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-10-21 20:14:51 +0000
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-10-21 20:14:51 +0000
commitf82c7f1d60bd6ce6b46d39e636158462e576fd8d (patch)
tree8fb416c5720b3b4346bea05a92415918168584b0 /youtube_podcaster/podcastupdater.py
parent29c193381133199ec914e834401033f085e813c9 (diff)
downloadyoutube-podcaster-master.tar.gz
youtube-podcaster-master.tar.bz2
youtube-podcaster-master.zip
Moved tempdir to download locationHEADmaster
Diffstat (limited to 'youtube_podcaster/podcastupdater.py')
-rw-r--r--youtube_podcaster/podcastupdater.py2
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: