mirror of https://github.com/evilhero/mylar
Removed unnecessary return statement
This commit is contained in:
parent
6ee257a1d6
commit
38e01091f3
|
@ -424,9 +424,6 @@ class TELEGRAM:
|
|||
self.token = test_token
|
||||
|
||||
def notify(self, message):
|
||||
if not mylar.CONFIG.TELEGRAM_ENABLED:
|
||||
return
|
||||
|
||||
# Construct message
|
||||
payload = {'chat_id': self.userid, 'text': message}
|
||||
|
||||
|
|
Loading…
Reference in New Issue