chore:multicast cache
This commit is contained in:
parent
1824b76b08
commit
8cfa2351fa
@ -48,7 +48,8 @@ async def get_channels_by_multicast(names, callback=None):
|
||||
"rb",
|
||||
) as file:
|
||||
cache = pickle.load(file) or {}
|
||||
channels = cache.get("multicast", {})
|
||||
multicast_data = cache.get("multicast", {})
|
||||
channels = {key: value for key, value in multicast_data.items() if key in names}
|
||||
except:
|
||||
pass
|
||||
if config.open_request:
|
||||
|
Loading…
x
Reference in New Issue
Block a user