From 4aeb67197ef14ed6d91ed35393e7e5b7d6978ad8 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 8 Oct 2011 13:43:59 +0200 Subject: [PATCH] Growl fix --- couchpotato/core/notifications/growl/growl.py | 2 +- couchpotato/core/notifications/growl/main.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/couchpotato/core/notifications/growl/growl.py b/couchpotato/core/notifications/growl/growl.py index ffc4e65a..c21e822b 100644 --- a/couchpotato/core/notifications/growl/growl.py +++ b/couchpotato/core/notifications/growl/growl.py @@ -63,7 +63,7 @@ class GrowlRegistrationPacket: self.data += encoded for default in self.defaults: self.data += struct.pack("B", default) - self.checksum = md5() + self.checksum = md5_constructor() self.checksum.update(self.data) if self.password: self.checksum.update(self.password) diff --git a/couchpotato/core/notifications/growl/main.py b/couchpotato/core/notifications/growl/main.py index 33ff3d6b..7adce314 100644 --- a/couchpotato/core/notifications/growl/main.py +++ b/couchpotato/core/notifications/growl/main.py @@ -1,5 +1,3 @@ -from couchpotato.api import addApiView -from couchpotato.core.event import addEvent from couchpotato.core.logger import CPLog from couchpotato.core.notifications.base import Notification from couchpotato.core.notifications.growl.growl import GROWL_UDP_PORT, \