Skip to content

Commit 29d2d48

Browse files
authored
Merge pull request #36 from elijahcroft/format/logger-call
Fix formatting of logger call
2 parents 1d5781a + fb0217d commit 29d2d48

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

engine/core/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ def __init__(
9898
else:
9999
self.image = EntityAnim(image)
100100
except (pygame.error, FileNotFoundError) as e:
101-
logger(f"Failed to load image or animation '{image}': {str(e)}", status=LoggerStatus.WARNING)
101+
logger(
102+
f"Failed to load image or animation '{image}': {str(e)}",
103+
status=LoggerStatus.WARNING,
104+
)
102105

103106
if scriptfile is not None:
104107
esfid = f"esf-{self.id}"

0 commit comments

Comments
 (0)