Skip to content

Commit 1558968

Browse files
committed
chore: improve log
1 parent ba83cec commit 1558968

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ndtoolbox/app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def eval_deletable_duplicates(self):
134134
keepable = self._get_keepable_media(dups)
135135
PU.debug(f"Found keepable: {keepable.path}", 0)
136136
progress.update()
137-
138137
progress.done()
139138
PU.ln()
140139

@@ -161,7 +160,6 @@ def eval_deletable_duplicates(self):
161160
data[folder][file] = None
162161
msg = SU.green(f"- KEEP > {file}")
163162
PU.debug(msg, 1)
164-
165163
progress.update()
166164
progress.done()
167165

@@ -703,7 +701,7 @@ def is_keepable(self, this: MediaFile, that: MediaFile) -> MediaFile:
703701
# Skip, if they are the same
704702

705703
# If no conditition matches, it doesn't matter which one we take
706-
PU.warning(f"No condition matched, keeping this one ({this.path}), instead of that one ({that.path})")
704+
PU.warning(f"No condition matched - keeping '{SU.green(this.path)}' over '{SU.red(that.path)}'")
707705
this.delete_reason = f"No reason, since no condition matched | {SU.gray(that.path)}"
708706
return that
709707

0 commit comments

Comments
 (0)