MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _fetch_url

Function _fetch_url

Scripts/ButSystem.py:10500–10509  ·  view source on GitHub ↗
(url: str, timeout: int = 7)

Source from the content-addressed store, hash-verified

10498
10499 # Notifications (numbered indicators)
10500 dm_total, dm_by = dm_unread_counts(u)
10501 g.notifs = type("Obj", (), {
10502 "dm_total": dm_total,
10503 "dm_by_sender": dm_by,
10504 })()
10505 else:
10506 g.my_profile = None
10507 g.notifs = type("Obj", (), {
10508 "dm_total": 0,
10509 "dm_by_sender": {},
10510 })()
10511
10512# ---------------------------

Callers 1

_fetch_news_uncachedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected