From 2beaecaab04208eacdb7ac09e8ea8f25149a3a7a Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Wed, 1 Aug 2018 03:30:11 +0200 Subject: [PATCH] reddit: log sending PMs. --- dailyreleases/reddit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dailyreleases/reddit.py b/dailyreleases/reddit.py index 56d1e49..83e9d8d 100644 --- a/dailyreleases/reddit.py +++ b/dailyreleases/reddit.py @@ -14,6 +14,7 @@ class Reddit(object): self.praw = praw.Reddit(**self.config["reddit"]) def send_pm(self, recipient, title, text): + logger.info("Sending PM to u/%s", recipient) return self.praw.redditor(recipient).message(title, text) def submit_post(self, title, text, subreddit):