From 8d93bf93552e01cd7530d07bd15fab045b8c324d Mon Sep 17 00:00:00 2001 From: Michael Woods Date: Tue, 18 Feb 2025 22:43:45 -0500 Subject: [PATCH] Date's and JSON don't get along well.. --- src/packetserver/client/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packetserver/client/users.py b/src/packetserver/client/users.py index 55dcdd9..7869c6c 100644 --- a/src/packetserver/client/users.py +++ b/src/packetserver/client/users.py @@ -19,7 +19,7 @@ class UserWrapper: out_dict = {} for a in ['username', 'status', 'bio', 'socials', 'created', 'last_seen', 'email', 'location']: if a != 'socials': - out_dict[a] = getattr(self, a) + out_dict[a] = str(getattr(self, a)) else: social_str = "\n".join(self.socials) out_dict['socials'] = social_str