From 6c73991a7b93dddd1964f5d56d8b332a10c85a00 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Thu, 3 Jan 2019 00:02:57 +0100 Subject: [PATCH] format date/time for notifications --- screenless/bureau/publicrelations/publicrelations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/publicrelations/publicrelations.py b/screenless/bureau/publicrelations/publicrelations.py index 1922593..9cf3eb1 100644 --- a/screenless/bureau/publicrelations/publicrelations.py +++ b/screenless/bureau/publicrelations/publicrelations.py @@ -332,7 +332,7 @@ class PublicRelations(Bureau): prn.set(text_type="B") prn.text("NOTIFICATIONS:\r\n") for note in notifications: - prn.text(note["type"] + " " + note["created_at"] + " from " + + prn.text(note["type"] + " " + str(note["created_at"]) + " from " + note["account"] + ":\r\n" + note["status"] + "\r\n") prn.text("\r\n\r\n")