diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-28 10:18:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-11 22:26:38 +0100 |
| commit | 5b69bcc581ecca47f10d6da6c6a8415b774afef0 (patch) | |
| tree | f5da7121188ef7d0a27a70ab62706f4724574601 | |
| parent | 54aab04b8b27fc7ebecad1c853348641e9792638 (diff) | |
Fix incorrect messages about KDMs being written to folders.
| -rw-r--r-- | src/lib/kdm_with_metadata.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kdm_with_metadata.cc b/src/lib/kdm_with_metadata.cc index 7dee935c4..e4aea1be7 100644 --- a/src/lib/kdm_with_metadata.cc +++ b/src/lib/kdm_with_metadata.cc @@ -153,8 +153,8 @@ write_directories ( if (!boost::filesystem::exists (path) || confirm_overwrite (path)) { boost::filesystem::create_directories (path); write_files(kdm, path, filename_format, confirm_overwrite); + written += kdm.size(); } - written += kdm.size(); } return written; |
