From c1251f32bc06a0d60aee44f4e3bf9ca50c371d87 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sun, 27 Jan 2013 12:05:56 -0800 Subject: [PATCH] Revert "Temporarily use "[deleted]" in JSON for deleted usernames." --- r2/r2/lib/jsontemplates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/jsontemplates.py b/r2/r2/lib/jsontemplates.py index b3698a02c..01005bfee 100755 --- a/r2/r2/lib/jsontemplates.py +++ b/r2/r2/lib/jsontemplates.py @@ -157,7 +157,7 @@ class ThingJsonTemplate(JsonTemplate): """ if attr == "author": if thing.author._deleted: - return "[deleted]" + return None return thing.author.name if attr == "author_flair_text": if thing.author._deleted: