From 90bb813d50daa8c01704492649b9e97efdc70895 Mon Sep 17 00:00:00 2001 From: Twixes Date: Tue, 14 Aug 2018 05:03:24 +0200 Subject: [PATCH] Made the message watch method a static method --- plugins/reddit_verification.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/reddit_verification.py b/plugins/reddit_verification.py index b5bfbe8f..a8d6485e 100644 --- a/plugins/reddit_verification.py +++ b/plugins/reddit_verification.py @@ -164,7 +164,8 @@ def __init__(self): thread.daemon = True thread.start() - def run(self): + @staticmethod + def run(): '''Checks new messages from inbox stream in the background (in the background is what the new thread is for)''' # Connect to the database (this must be done a second time because this is a new thread)