From: Moritz Venn Date: Tue, 19 Jan 2010 00:16:19 +0000 (+0000) Subject: fix typo and registration with growl X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp-plugin;a=commitdiff_plain;h=807a36ed6ce260d3a07fac22c5950cc242514cdd fix typo and registration with growl --- 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: