aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Senjan21 <[email protected]>2020-11-06 16:38:24 +0100
committerGravatar GitHub <[email protected]>2020-11-06 16:38:24 +0100
commitdec1395a46f44c360d286b267429e3766c46826f (patch)
treed998864956c4edc2eaec12951d620f39a30478c4
parentMerge pull request #901 from ks129/pep-improvisations (diff)
parentReinsert python-repl in PY_LANG_CODES (diff)
Merge pull request #1266 from zachgates/patch-1
Updated langs to include python-repl
-rw-r--r--bot/exts/info/codeblock/_parsing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/codeblock/_parsing.py b/bot/exts/info/codeblock/_parsing.py
index a98218dfb..65a2272c8 100644
--- a/bot/exts/info/codeblock/_parsing.py
+++ b/bot/exts/info/codeblock/_parsing.py
@@ -12,7 +12,7 @@ from bot.utils import has_lines
log = logging.getLogger(__name__)
BACKTICK = "`"
-PY_LANG_CODES = ("python", "pycon", "py") # Order is important; "py" is last cause it's a subset.
+PY_LANG_CODES = ("python-repl", "python", "pycon", "py") # Order is important; "py" is last cause it's a subset.
_TICKS = {
BACKTICK,
"'",