aboutsummaryrefslogtreecommitdiff
path: root/discord/ui
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-08-01 02:40:11 -0400
committerRapptz <[email protected]>2021-08-01 02:40:11 -0400
commitb87d306a700319d89bc96d5f8cb21008006ebd7d (patch)
tree506a9fae552926f5c6ef7e4e851bec532811482c /discord/ui
parentChange View dispatch mechanism to be keyed by message_id as well (diff)
downloaddiscord.py-b87d306a700319d89bc96d5f8cb21008006ebd7d.tar.xz
discord.py-b87d306a700319d89bc96d5f8cb21008006ebd7d.zip
Remove unused variable in view
Diffstat (limited to 'discord/ui')
-rw-r--r--discord/ui/view.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/discord/ui/view.py b/discord/ui/view.py
index a190b507..ae0ba3b7 100644
--- a/discord/ui/view.py
+++ b/discord/ui/view.py
@@ -475,7 +475,6 @@ class ViewStore:
def __verify_integrity(self):
to_remove: List[Tuple[int, Optional[int], str]] = []
- now = time.monotonic()
for (k, (view, _)) in self._views.items():
if view.is_finished():
to_remove.append(k)