diff options
| author | Nathan Jaremko | 2017-12-05 15:26:07 -0500 |
|---|---|---|
| committer | Nathan Jaremko | 2017-12-05 15:26:07 -0500 |
| commit | 978dbf71f22e3123b2f25154cfbe20a6e207dfe3 (patch) | |
| tree | c4cc1155775f88e1d829549060f9ebf3fb39989f /src/structs.rs | |
| parent | 2e8a59ebe8f076811d66072ec410320d7df1fd2e (diff) | |
| download | podcast-978dbf71f22e3123b2f25154cfbe20a6e207dfe3.tar.bz2 | |
Improve subscribing default behaviour
Diffstat (limited to 'src/structs.rs')
| -rw-r--r-- | src/structs.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/structs.rs b/src/structs.rs index 97c30c2..817a0d1 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -114,7 +114,7 @@ impl State { } } - pub fn subscribe(&mut self, url: &str, config: &Config) { + pub fn subscribe(&mut self, url: &str) { let mut set = BTreeSet::new(); for sub in self.subscriptions() { set.insert(sub.title); @@ -130,7 +130,6 @@ impl State { if let Err(err) = self.save() { eprintln!("{}", err); } - download_rss(url, config); } pub fn subscriptions(&self) -> Vec<Subscription> { |
