Skip to content

Commit

Permalink
chore:multicast cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Guovin committed Dec 11, 2024
1 parent 1824b76 commit 8cfa235
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion updates/multicast/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8cfa235

Please sign in to comment.