From b4d98878588990721f6c4627656eb226bb735804 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 26 May 2012 23:15:01 +0200 Subject: [PATCH] Typo --- couchpotato/core/notifications/core/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/notifications/core/main.py b/couchpotato/core/notifications/core/main.py index 196a9ac1..b5f51eae 100644 --- a/couchpotato/core/notifications/core/main.py +++ b/couchpotato/core/notifications/core/main.py @@ -165,7 +165,7 @@ class CoreNotifier(Notification): self.listeners.append((callback, last_id)) def removeListener(self, callback): - self.m_lock.aquire() + self.m_lock.acquire() for list_tuple in self.listeners: try: listener, last_id = list_tuple @@ -177,7 +177,7 @@ class CoreNotifier(Notification): def cleanMessages(self): - self.m_lock.aquire() + self.m_lock.acquire() for message in self.messages: if message['time'] < (time.time() - 15): self.messages.remove(message)