##// END OF EJS Templates
users: make user data loading more resilient to errors.
milka -
r4686:a287ef57 stable
parent child Browse files
Show More
@@ -911,7 +911,7 b' class User(Base, BaseModel):'
911 911 return {}
912 912
913 913 try:
914 return json.loads(self._user_data)
914 return json.loads(self._user_data) or {}
915 915 except TypeError:
916 916 return {}
917 917
General Comments 1
Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now