feat: Update UI and fix record parsing
All checks were successful
Build Docker / Build Docker (push) Successful in 38s

This commit is contained in:
2025-02-20 22:14:25 +11:00
parent c2e6ed60e0
commit c0ce9853be
2 changed files with 54 additions and 47 deletions

View File

@@ -108,8 +108,11 @@ def get_user_info(user:User) -> dict:
content = record.split(":")
if len(content) > 2:
content = ":".join(content[1:])
else:
elif len(content) == 2:
content = content[1]
else:
print(f"Invalid record format\n{record}",flush=True)
continue
key = content.split("=")[0].lower()
value = content.split("=")[1]
if type == "profile":