Add quotes around the quoted quote so it looks like a quote

This commit is contained in:
Trever Fischer
2012-02-27 13:06:15 -05:00
parent a6ce6c3d7f
commit 16bd3c0a64

View File

@@ -26,5 +26,5 @@ class MOTDHandler(AnonymousBaseHandler):
motd = motdList[0].text
quote = Quote.objects.order_by('?')
if len(quote) > 0:
motd += "\n"+quote[0].text
motd += "\n"+'"'+quote[0].text+'"'
return {"motd":motd.split('\n')}