aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/madlibs.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-05-06 16:12:32 +0100
committerGravatar Chris Lovering <[email protected]>2023-05-09 15:41:50 +0100
commit613840ebcf303e84048d48ace37fb001c1afe687 (patch)
tree9acaf0bae0527fe8389483a419b44e06997ca060 /bot/exts/fun/madlibs.py
parentMigrate to ruff (diff)
Apply fixes for ruff linting
Co-authored-by: wookie184 <[email protected]> Co-authored-by: Amrou Bellalouna <[email protected]>
Diffstat (limited to 'bot/exts/fun/madlibs.py')
-rw-r--r--bot/exts/fun/madlibs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/madlibs.py b/bot/exts/fun/madlibs.py
index 075dde75..c14e8a3a 100644
--- a/bot/exts/fun/madlibs.py
+++ b/bot/exts/fun/madlibs.py
@@ -117,7 +117,7 @@ class Madlibs(commands.Cog):
self.checks.remove(author_check)
story = []
- for value, blank in zip(random_template["value"], blanks):
+ for value, blank in zip(random_template["value"], blanks, strict=True):
story.append(f"{value}__{blank}__")
# In each story template, there is always one more "value"