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

Function user_root

Scripts/ButSystem.py:3442–3457  ·  view source on GitHub ↗

user_root. Internal helper function. This docstring was added automatically to improve maintainability. Args: username: Parameter. Returns: Varies.

(username: str)

Source from the content-addressed store, hash-verified

3440 except Exception:
3441 pass
3442
3443 try:
3444 prof["has_pic"] = bool(row["pic_path"] and os.path.exists(row["pic_path"]))
3445 except Exception:
3446 prof["has_pic"] = False
3447 try:
3448 prof["pic_mime"] = row["pic_mime"]
3449 except Exception:
3450 prof["pic_mime"] = None
3451 return prof
3452
3453
3454def set_profile(username: str, nickname: str, bio: str, links: List[str], extras: Optional[Dict[str, str]] = None):
3455 """set_profile.
3456
3457Route handler or application helper.
3458
3459This docstring was expanded to make future maintenance easier.
3460

Callers 6

abs_user_pathFunction · 0.70
admin_delete_userFunction · 0.70
admin_user_filesFunction · 0.70
admin_user_downloadFunction · 0.70
approval_promptFunction · 0.70
prompt_creator_accountFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected