Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
f-string tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
desbma committed Sep 26, 2021
1 parent 179d823 commit b50769e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions r128gain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def has_loudness_tag(filepath: str) -> Optional[Tuple[bool, bool]]:
)

else:
logger().warning(f"Unhandled '{mf.__class__.__name__}' tag format for file {filepath!r}")
logger().warning(f"Unhandled {mf.__class__.__name__!r} tag format for file {filepath!r}")
return None

return track, album
Expand Down Expand Up @@ -774,7 +774,7 @@ def process_recursive( # noqa: C901
mtime_second_offset=mtime_second_offset,
)
except Exception as e:
logger().error(f"Failed to tag file '{audio_filepath}': {e.__class__.__qualname__} {e}")
logger().error(f"Failed to tag file {audio_filepath!r}: {e.__class__.__qualname__} {e}")
error_count += 1

retained_futures -= set(other_dir_futures)
Expand Down

0 comments on commit b50769e

Please sign in to comment.