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")