aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2023-02-18 15:38:54 -0500
committerGravatar Ionite <[email protected]>2023-02-18 15:38:54 -0500
commit540ed9cf63785e5e922f74434f011fb2689da988 (patch)
tree80aaf0b52bbd82051fa5bf71aee72124e4c35089
parentAdd `has_output` and `has_files` for EvalResult (diff)
Fix typing
-rw-r--r--bot/exts/utils/snekbox/_cog.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/utils/snekbox/_cog.py b/bot/exts/utils/snekbox/_cog.py
index 00150a837..ab8815697 100644
--- a/bot/exts/utils/snekbox/_cog.py
+++ b/bot/exts/utils/snekbox/_cog.py
@@ -176,6 +176,7 @@ class Snekbox(Cog):
job: EvalJob,
) -> interactions.ViewWithUserAndRoleCheck:
"""Return a view that allows the user to change what version of Python their code is run on."""
+ alt_python_version: PythonVersion
if current_python_version == "3.10":
alt_python_version = "3.11"
else: