Commit new DB changes and make sure the metadata is always present in some form

This commit is contained in:
Joseph Schorr 2014-08-11 18:35:26 -04:00
parent 389c88a7c4
commit 11176215e1
2 changed files with 1 additions and 1 deletions

View file

@ -43,7 +43,7 @@ def user_view(user):
try:
metadata = json.loads(login.metadata_json)
except:
metadata = None
metadata = {}
return {
'service': login.service.name,

Binary file not shown.