From 487ddf1c25d98e09dc9ce808a2015984f2cf0329 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 31 Aug 2014 22:19:09 +0200 Subject: [PATCH] Don't check message in dev mode --- couchpotato/core/notifications/core/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/notifications/core/main.py b/couchpotato/core/notifications/core/main.py index 5190218e..fdc837ad 100644 --- a/couchpotato/core/notifications/core/main.py +++ b/couchpotato/core/notifications/core/main.py @@ -66,7 +66,9 @@ class CoreNotifier(Notification): fireEvent('schedule.interval', 'core.clean_messages', self.cleanMessages, seconds = 15, single = True) addEvent('app.load', self.clean) - addEvent('app.load', self.checkMessages) + + if not Env.get('dev'): + addEvent('app.load', self.checkMessages) self.messages = [] self.listeners = []