aboutsummaryrefslogtreecommitdiffstats
path: root/src/structs.rs
diff options
context:
space:
mode:
authornjaremko2017-07-17 23:16:48 -0400
committernjaremko2017-07-17 23:16:48 -0400
commit80f4314bedc4ec6c727287000d3f3dd775b894f5 (patch)
treefda3602de5e1f0c54142c74d546b5a12d341a143 /src/structs.rs
parent9a7d334dd698e450851bf30b432de64f1a7ef748 (diff)
downloadpodcast-80f4314bedc4ec6c727287000d3f3dd775b894f5.tar.bz2
Work offline
Diffstat (limited to 'src/structs.rs')
-rw-r--r--src/structs.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/structs.rs b/src/structs.rs
index c304832..2546139 100644
--- a/src/structs.rs
+++ b/src/structs.rs
@@ -5,6 +5,7 @@ use std::collections::BTreeSet;
use std::fs::{DirBuilder, File};
use std::io::{self, Read, Write};
use utils::*;
+use actions::*;
#[derive(Serialize, Deserialize, Clone)]
pub struct Subscription {
@@ -44,6 +45,7 @@ impl State {
Err(err) => println!("{}", err),
_ => (),
}
+ update_rss(self.clone());
}
pub fn subscriptions(&self) -> Vec<Subscription> {