Skip to content

Commit

Permalink
Made the message watch method a static method
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Aug 14, 2018
1 parent d94b85b commit 90bb813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/reddit_verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 90bb813

Please sign in to comment.