diff options
author | 2023-11-13 14:43:34 +0000 | |
---|---|---|
committer | 2023-11-13 14:43:34 +0000 | |
commit | eed1a172c9c5e2000d933da9200259b1b7e4be87 (patch) | |
tree | d30020e77e59a891cb36f6f2ce922eef16535c28 /bot/exts/core | |
parent | Bump sentry-sdk from 1.34.0 to 1.35.0 (#1396) (diff) | |
parent | Lint repo with new ruff rules (diff) |
Merge pull request #1395 from python-discord/dependabot/pip/ruff-0.1.5
Bump ruff from 0.1.4 to 0.1.5
Diffstat (limited to 'bot/exts/core')
-rw-r--r-- | bot/exts/core/internal_eval/_internal_eval.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/core/internal_eval/_internal_eval.py b/bot/exts/core/internal_eval/_internal_eval.py index f5188c1f..1ae3c043 100644 --- a/bot/exts/core/internal_eval/_internal_eval.py +++ b/bot/exts/core/internal_eval/_internal_eval.py @@ -165,7 +165,7 @@ class InternalEval(commands.Cog): code = "\n".join(block.group("code") for block in blocks) else: match = match[0] if len(blocks) == 0 else blocks[0] - code, block, lang, delim = match.group("code", "block", "lang", "delim") + code, _, _, _ = match.group("code", "block", "lang", "delim") else: code = RAW_CODE_REGEX.fullmatch(code).group("code") |