aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-08-19 13:50:21 -0700
committerGravatar MarkKoz <[email protected]>2020-08-19 13:50:21 -0700
commitbca71687eec90b88e60155679d369b57344a0ddc (patch)
tree61cf897052215c534928837a2edb72834e6c25a2
parentSwap argument order in ChainMaps (diff)
Replace stinky single-item unpacking syntax
-rw-r--r--bot/cogs/watchchannels/talentpool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/watchchannels/talentpool.py b/bot/cogs/watchchannels/talentpool.py
index c5621ae18..a6df84c23 100644
--- a/bot/cogs/watchchannels/talentpool.py
+++ b/bot/cogs/watchchannels/talentpool.py
@@ -227,7 +227,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"):
log.info(f"Ending nomination: {user_id=} {reason=}")
- [nomination] = active_nomination
+ nomination = active_nomination[0]
await self.bot.api_client.patch(
f"{self.api_endpoint}/{nomination['id']}",
json={'end_reason': reason, 'active': False}