From cc7cf766cdaa884f98f8a3708894bf79355adb22 Mon Sep 17 00:00:00 2001 From: RTSDA Date: Sun, 20 Apr 2025 10:10:43 -0400 Subject: [PATCH] Fix ownership issue by using output_path from archiver --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a359815..24bf78e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -40,7 +40,7 @@ async fn main() -> Result<()> { if let Some(filename) = path.file_name().and_then(|f| f.to_str()) { if let Ok(date) = archiver.extract_date_from_filename(filename).await { // Check if either Divine Worship or Afternoon Program exists for this date - let year_dir = output_path.join(date.format("%Y").to_string()); + let year_dir = archiver.output_path.join(date.format("%Y").to_string()); let month_dir = year_dir.join(format!("{}-{}", date.format("%m"), date.format("%B")