aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar larswijn <[email protected]>2019-10-13 18:31:17 +0200
committerGravatar GitHub <[email protected]>2019-10-13 18:31:17 +0200
commite049f758da923fcb050ce32d1bf0657b220f87d2 (patch)
tree28a692092cd318c787629d441b3e07b245ccd1ec
parentCompletely re-submit file (diff)
Update utils.py
Switch around trying order (txt first, then rst)
-rw-r--r--bot/cogs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py
index 68a24a446..62d46d5a1 100644
--- a/bot/cogs/utils.py
+++ b/bot/cogs/utils.py
@@ -38,7 +38,7 @@ class Utils:
else:
return await ctx.invoke(self.bot.get_command("help"), "pep")
- possible_extensions = ['.rst', '.txt']
+ possible_extensions = ['.txt', '.rst']
found_pep = False
for extension in possible_extensions:
# Attempt to fetch the PEP