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:
|
if tag in self.Tags:
|
||||||
cur_pos = self.f.tell()
|
cur_pos = self.f.tell()
|
||||||
|
|
||||||
tagname = TiffTags.lookup(tag).name
|
logger.debug(
|
||||||
typname = TYPES.get(field_type, "unknown")
|
"fixIFD: %s (%d) - type: %s (%d) - type size: %d - count: %d",
|
||||||
msg = f"fixIFD: {tagname} ({tag}) - type: {typname} ({field_type})"
|
TiffTags.lookup(tag).name,
|
||||||
msg += f"- type size: {field_size} - count: {count}"
|
tag,
|
||||||
logger.debug(msg)
|
TYPES.get(field_type, "unknown"),
|
||||||
|
field_type,
|
||||||
|
field_size,
|
||||||
|
count,
|
||||||
|
)
|
||||||
|
|
||||||
if is_local:
|
if is_local:
|
||||||
self._fixOffsets(count, field_size)
|
self._fixOffsets(count, field_size)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user