Added SKREEE

backup_error_fix
Joey Hines 2020-06-07 15:12:19 -05:00
parent 0752877345
commit f8caf62101
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ fn backup_region(
let file_name = entry.file_name().to_str().unwrap().to_string();
if let Some(region) = Region::from_string(file_name) {
if region.x.abs() < save_radius && region.y.abs() < save_radius {
if region.x.abs() <= save_radius && region.y.abs() <= save_radius {
let mut target = backup_dir.clone();
target.push(entry.file_name());
@ -345,7 +345,7 @@ fn do_backup(cfg: AlbatrossConfig) -> Result<(), std::io::Error> {
let secs = timer.elapsed().as_secs();
send_webhook(
format!("**Full backup completed in {}s**!", secs).as_str(),
format!("**Full backup completed in {}s**! *SKREEEEEEEEEE*", secs).as_str(),
&cfg,
);
Ok(())