mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-22 06:13:25 -07:00
Fixed an issue with the even setting
This commit is contained in:
parent
937d114125
commit
8c72dfc641
1 changed files with 3 additions and 3 deletions
|
@ -1317,11 +1317,11 @@ class IFTTT(object):
|
|||
logger.info(u"Ifttt notification failed serverside.")
|
||||
return False
|
||||
|
||||
def test(self, apikey):
|
||||
def test(self, apikey, event):
|
||||
|
||||
self.enabled = True
|
||||
self.apikey = apikey
|
||||
|
||||
self.event = event
|
||||
self.notify('Main Screen Activate', 'Test Message')
|
||||
|
||||
def return_config_options(self):
|
||||
|
@ -1332,7 +1332,7 @@ class IFTTT(object):
|
|||
'input_type': 'text'
|
||||
},
|
||||
{'label': 'Ifttt event',
|
||||
'value': self.apikey,
|
||||
'value': self.event,
|
||||
'name': 'ifttt_event',
|
||||
'description': 'The Ifttt maker event to fire.',
|
||||
'input_type': 'text'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue