diff options
| author | 2015-10-19 21:38:00 +0200 | |
|---|---|---|
| committer | 2015-10-19 21:38:00 +0200 | |
| commit | 9cc311ca5376bfcbcacf7ac492f5958acfac0682 (patch) | |
| tree | 451b076d21bbaa477c901b83d325d7360be2cd67 /youtube_podcaster/podcastfeeder.py | |
| parent | a7fe15b99d64904855ba2bd3649b1a3642824a75 (diff) | |
| download | youtube-podcaster-9cc311ca5376bfcbcacf7ac492f5958acfac0682.tar.gz youtube-podcaster-9cc311ca5376bfcbcacf7ac492f5958acfac0682.tar.bz2 youtube-podcaster-9cc311ca5376bfcbcacf7ac492f5958acfac0682.zip | |
Added commandline options and config file
Diffstat (limited to 'youtube_podcaster/podcastfeeder.py')
| -rw-r--r-- | youtube_podcaster/podcastfeeder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_podcaster/podcastfeeder.py b/youtube_podcaster/podcastfeeder.py index 3f752d2..4181d6c 100644 --- a/youtube_podcaster/podcastfeeder.py +++ b/youtube_podcaster/podcastfeeder.py | |||
| @@ -5,10 +5,10 @@ from .podcastupdater import ( | |||
| 5 | ) | 5 | ) |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | def create_feeder(youtube_config, podcast_config): | 8 | def create_feeder(config): |
| 9 | class PodcastFeeder(BaseHTTPRequestHandler): | 9 | class PodcastFeeder(BaseHTTPRequestHandler): |
| 10 | def __init__(self, request, client_address, server): | 10 | def __init__(self, request, client_address, server): |
| 11 | self.updater = PodcastUpdater(youtube_config, podcast_config) | 11 | self.updater = PodcastUpdater(config) |
| 12 | super(PodcastFeeder, self).__init__(request, client_address, server) | 12 | super(PodcastFeeder, self).__init__(request, client_address, server) |
| 13 | 13 | ||
| 14 | def do_GET(self): | 14 | def do_GET(self): |
