Don't set ACL channels online immediately
This commit is contained in:
1 parent
fe8052654b
commit
f705cc1527
1 file changed
+5
-5
@@ -717,11 +717,11 @@ class Twitch:
|
|||||||
# remove all ACL channels that already exist from the other set
|
# remove all ACL channels that already exist from the other set
|
||||||
acl_channels.difference_update(new_channels)
|
acl_channels.difference_update(new_channels)
|
||||||
# use the other set to set them online if possible
|
# use the other set to set them online if possible
|
||||||
if acl_channels:
|
# if acl_channels:
|
||||||
await asyncio.gather(
|
# await asyncio.gather(*(
|
||||||
*(channel.update_stream(trigger_events=False) for channel in acl_channels),
|
# channel.update_stream(trigger_events=False)
|
||||||
return_exceptions=True,
|
# for channel in acl_channels
|
||||||
)
|
# ))
|
||||||
# finally, add them as new channels
|
# finally, add them as new channels
|
||||||
new_channels.update(acl_channels)
|
new_channels.update(acl_channels)
|
||||||
for game in no_acl:
|
for game in no_acl:
|
||||||
|
|||||||
Reference in new issue
Block a user