From bed81b010a2b2ec2c71647ab231956828a26aa55 Mon Sep 17 00:00:00 2001 From: wsyxbcl Date: Wed, 17 Jul 2024 11:28:04 +0800 Subject: [PATCH] use absolute image path in tags2img --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6e243da7..611d260d 100755 --- a/src/main.rs +++ b/src/main.rs @@ -103,7 +103,7 @@ fn main() -> anyhow::Result<()> { image_path, tag_type, } => { - write_taglist(absolute_path(taglist_path)?, image_path, tag_type)?; + write_taglist(absolute_path(taglist_path)?, absolute_path(image_path)?, tag_type)?; } Commands::Capture { csv_path, output } => { get_temporal_independence(absolute_path(csv_path)?, output)?;