mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-22 15:24:37 +03:00
Moved strings inside debug statement
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
7dcf4d8ab3
commit
c67ed4678b
|
@ -2202,11 +2202,15 @@ class AppendingTiffWriter(io.BytesIO):
|
|||
if tag in self.Tags:
|
||||
cur_pos = self.f.tell()
|
||||
|
||||
tagname = TiffTags.lookup(tag).name
|
||||
typname = TYPES.get(field_type, "unknown")
|
||||
msg = f"fixIFD: {tagname} ({tag}) - type: {typname} ({field_type})"
|
||||
msg += f"- type size: {field_size} - count: {count}"
|
||||
logger.debug(msg)
|
||||
logger.debug(
|
||||
"fixIFD: %s (%d) - type: %s (%d) - type size: %d - count: %d",
|
||||
TiffTags.lookup(tag).name,
|
||||
tag,
|
||||
TYPES.get(field_type, "unknown"),
|
||||
field_type,
|
||||
field_size,
|
||||
count,
|
||||
)
|
||||
|
||||
if is_local:
|
||||
self._fixOffsets(count, field_size)
|
||||
|
|
Loading…
Reference in New Issue
Block a user