This commit is contained in:
Trever Fischer
2012-02-27 12:55:12 -05:00
parent aa15f4d797
commit a6ce6c3d7f

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.text
motd += "\n"+quote[0].text
return {"motd":motd.split('\n')}