error code 502 -> 200

This commit is contained in:
Aaron Blankstein
2017-11-16 17:03:42 -05:00
parent 06a25ed966
commit 66f2e68196
2 changed files with 3 additions and 3 deletions

View File

@@ -280,7 +280,7 @@ def get_users(username):
reply[username] = profile
if 'error' in profile:
status_code = 502
status_code = 200
if 'status_code' in profile:
status_code = profile['status_code']
del profile['status_code']