From 8c72dfc641db129407e3f3f3bad3d3162d20e7d7 Mon Sep 17 00:00:00 2001 From: rossdargan Date: Sun, 11 Oct 2015 22:27:13 +0100 Subject: [PATCH] Fixed an issue with the even setting --- plexpy/notifiers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index 5ba62633..7fa506f1 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -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'