summaryrefslogtreecommitdiff
path: root/src/backup.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/backup.rs')
-rw-r--r--src/backup.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backup.rs b/src/backup.rs
index b468917..c0621fc 100644
--- a/src/backup.rs
+++ b/src/backup.rs
@@ -13,7 +13,7 @@ use crate::{
13 config::Config, 13 config::Config,
14 error::{Error, Result}, 14 error::{Error, Result},
15 packages::PackageList, 15 packages::PackageList,
16 pathinfo::PathInfo, send_notification, 16 pathinfo::PathInfo, send_notification, Urgency,
17}; 17};
18 18
19pub type Id = String; 19pub type Id = String;
@@ -62,7 +62,7 @@ impl Backup {
62 path.save(&backup_root)?; 62 path.save(&backup_root)?;
63 } 63 }
64 64
65 send_notification("Backup created" , "", notify_rust::Urgency::Normal)?; 65 send_notification("Backup created" , "", Urgency::Normal)?;
66 66
67 Ok(()) 67 Ok(())
68 } 68 }
@@ -126,7 +126,7 @@ impl Backup {
126 path.restore(config, &backup_root)?; 126 path.restore(config, &backup_root)?;
127 } 127 }
128 128
129 send_notification("Backup restored" , "", notify_rust::Urgency::Normal)?; 129 send_notification("Backup restored" , "", Urgency::Normal)?;
130 130
131 Ok(()) 131 Ok(())
132 } 132 }