diff options
Diffstat (limited to 'client')
| -rwxr-xr-x | client/conversation.py | 1 | ||||
| -rw-r--r-- | client/mic.py | 1 | ||||
| -rw-r--r-- | client/notifier.py | 4 |
3 files changed, 2 insertions, 4 deletions
diff --git a/client/conversation.py b/client/conversation.py index 9f7cc22..bad5073 100755 --- a/client/conversation.py +++ b/client/conversation.py @@ -51,7 +51,6 @@ class Conversation(object): if threshold: input = self.mic.activeListen(threshold) - print "I just heard '%s'" % input if input: self.delegateInput(input) else: diff --git a/client/mic.py b/client/mic.py index 4798790..8d66053 100644 --- a/client/mic.py +++ b/client/mic.py @@ -180,7 +180,6 @@ class Mic: """ AUDIO_FILE = "active.wav" - #RATE = 16000 RATE = 44100 CHUNK = 1024 LISTEN_TIME = 12 diff --git a/client/notifier.py b/client/notifier.py index 5e33c5b..341ae04 100644 --- a/client/notifier.py +++ b/client/notifier.py @@ -1,5 +1,5 @@ import Queue -#from modules import Gmail +from modules import Gmail from apscheduler.scheduler import Scheduler import logging logging.basicConfig() @@ -24,7 +24,7 @@ class Notifier(object): ] sched = Scheduler() - #sched.start() + sched.start() sched.add_interval_job(self.gather, seconds=30) def gather(self): |
