Newlines for email
authorSam Moore <matches@ucc.asn.au>
Mon, 5 May 2014 15:55:29 +0000 (23:55 +0800)
committerSam Moore <matches@ucc.asn.au>
Mon, 5 May 2014 15:55:29 +0000 (23:55 +0800)
rate-my-litreview.py

index 251ad6a..2bee31a 100755 (executable)
@@ -138,9 +138,9 @@ def main(argv):
        userMsg = "Someone Rated Your LitReview!\n"
        userMsg += "Your ratings\n-----------------\n"
        for k in values:
-               userMsg += str(k) + ":\t" + str(values[k])
+               userMsg += str(k) + ":\t" + str(values[k]) + "\n"
 
-       userMsg += "Happy LitReviewing!\n"
+       userMsg += "\nHappy LitReviewing!\n"
        userMsg += "\n\nNOTE: This Message Automatically Sent By Rate My LitReview(TM) (Patent Pending)\n"
        userMsg = MIMEText(userMsg)
        for i,msg in enumerate([userMsg]):

UCC git Repository :: git.ucc.asn.au