summary history branches tags files
commit:e050474f62760727873134a0ff98b42325120032
author:Trevor Bentley
committer:Trevor Bentley
date:Mon Jan 13 23:44:47 2025 +0100
parents:79ed255f52f5d3d59296d72e494fb0039419f92f
missing semicolons
diff --git a/src/main.rs b/src/main.rs
line changes: +2/-2
index 2878398..81c3b32
--- a/src/main.rs
+++ b/src/main.rs
@@ -621,7 +621,7 @@ fn write_tags_to_file<P: AsRef<std::ffi::OsStr>>(config: &PwwConfig, metatags: &
 
     if !config.disable_pww_tag() {
         let _ = rexiv2::register_xmp_namespace("http://trevor.town/pww/1.0/", "photo-what-what");
-        let pww_tag = "Xmp.photo-what-what.processed"
+        let pww_tag = "Xmp.photo-what-what.processed";
         meta.clear_tag(pww_tag);
         meta.set_tag_numeric(pww_tag, 1)
             .map_err(|_e| PwwError::Unknown("Couldn't set pww processed tag".into()))?;
@@ -671,7 +671,7 @@ fn process_image(config: &PwwConfig, input_path: &Path) -> Result<(), PwwError> 
     let _ = rexiv2::register_xmp_namespace("http://trevor.town/pww/1.0/", "photo-what-what");
     let meta = rexiv2::Metadata::new_from_path(&metafile)
         .map_err(|e| PwwError::Unknown(format!("Unable to read metadata from image file: {}", e)))?;
-    let pww_tag = "Xmp.photo-what-what.processed"
+    let pww_tag = "Xmp.photo-what-what.processed";
     if config.skip_processed() && meta.get_tag_numeric(pww_tag) == 1 {
         if config.verbose() {
             println!(" - already processed, skipped!")