mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2026-10-22 14:32:08 +03:00
Only read tags if also set to write?
This commit is contained in:
1 parent
9a7f316419
commit
f27804a2bb
1 file changed
+1
-1
+1
-1
@@ -643,7 +643,7 @@ pub fn analyse_files(db_path: &str, mpaths: &Vec<PathBuf>, dry_run: bool, keep_o
|
||||
}
|
||||
} else {
|
||||
if !track_paths.is_empty() {
|
||||
let untagged_paths = check_for_tags(&db, &mpath, track_paths, max_threads, &mut notifs);
|
||||
let untagged_paths = if write_tags { check_for_tags(&db, &mpath, track_paths, max_threads, &mut notifs) } else { track_paths };
|
||||
|
||||
if !untagged_paths.is_empty() {
|
||||
log::info!("New untagged files: {}", untagged_paths.len());
|
||||
|
||||
Reference in new issue
Block a user