From 807a36ed6ce260d3a07fac22c5950cc242514cdd Mon Sep 17 00:00:00 2001 From: Moritz Venn Date: Tue, 19 Jan 2010 00:16:19 +0000 Subject: [PATCH] fix typo and registration with growl --- growlee/src/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/growlee/src/plugin.py b/growlee/src/plugin.py index b7144a1..efb323c 100644 --- a/growlee/src/plugin.py +++ b/growlee/src/plugin.py @@ -148,7 +148,7 @@ class GrowlProtocolOneWrapper(DatagramProtocol): if config.plugins.growlee.enable_outgoing.value and not proto == "prowl": addr = (config.plugins.growlee.address.value, GROWL_UDP_PORT) if proto == "growl": - p = GrowlRegistrationPacket(password=config.plugins.growlee.password.value) + p = GrowlRegistrationPacket(application="growlee", password=config.plugins.growlee.password.value) p.addNotification() payload = p.payload() else: #proto == "snarl": @@ -166,7 +166,7 @@ class GrowlProtocolOneWrapper(DatagramProtocol): self.transport.write(payload, addr) except gaierror: pass - DaragramProtocol.doStop(self) + DatagramProtocol.doStop(self) def sendNotification(self, *args, **kwargs): if not self.transport or not config.plugins.growlee.enable_outgoing.value: -- 2.7.4