From 34f40e58c934b3e19b5a5b77552665ea6a987679 Mon Sep 17 00:00:00 2001 From: Ionite Date: Sun, 20 Nov 2022 21:47:22 -0500 Subject: Change EvalJob str to repr --- bot/exts/utils/snekbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py index 93941ed4c..60b9970b8 100644 --- a/bot/exts/utils/snekbox.py +++ b/bot/exts/utils/snekbox.py @@ -162,7 +162,7 @@ class EvalJob: args: list[str] files: list[FileAttachment] = field(default_factory=list) - def __str__(self) -> str: + def __repr__(self) -> str: """Return the job as a string.""" return f"EvalJob(args={self.args}, files={self.files})" -- cgit v1.2.3