We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 635ac18 commit 53dbf4aCopy full SHA for 53dbf4a
css_browserhook.py
@@ -28,7 +28,8 @@ async def _init(self):
28
self.html_classes = res["classes"]
29
else:
30
Log(f"Failed to connect to tab with id {self.id}")
31
- self.hook.connected_tabs.remove(self)
+ if self in self.hook.connected_tabs:
32
+ self.hook.connected_tabs.remove(self)
33
return
34
35
self.init_done = True
0 commit comments