Growl fix
This commit is contained in:
1 parent
577deb2453
commit
4aeb67197e
2 files changed
+1
-3
No files matched your search
@@ -63,7 +63,7 @@ class GrowlRegistrationPacket:
|
|||||||
self.data += encoded
|
self.data += encoded
|
||||||
for default in self.defaults:
|
for default in self.defaults:
|
||||||
self.data += struct.pack("B", default)
|
self.data += struct.pack("B", default)
|
||||||
self.checksum = md5()
|
self.checksum = md5_constructor()
|
||||||
self.checksum.update(self.data)
|
self.checksum.update(self.data)
|
||||||
if self.password:
|
if self.password:
|
||||||
self.checksum.update(self.password)
|
self.checksum.update(self.password)
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
from couchpotato.api import addApiView
|
|
||||||
from couchpotato.core.event import addEvent
|
|
||||||
from couchpotato.core.logger import CPLog
|
from couchpotato.core.logger import CPLog
|
||||||
from couchpotato.core.notifications.base import Notification
|
from couchpotato.core.notifications.base import Notification
|
||||||
from couchpotato.core.notifications.growl.growl import GROWL_UDP_PORT, \
|
from couchpotato.core.notifications.growl.growl import GROWL_UDP_PORT, \
|
||||||
|
|||||||
Reference in new issue
Block a user