From c1aad04828b1b9e574578c54a005ddfdb97641dc Mon Sep 17 00:00:00 2001 From: Alve Date: Mon, 12 Oct 2020 11:22:02 +0200 Subject: [PATCH] Fix --- modules/speech/speech.py | 2 +- speech_daemon.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/speech/speech.py b/modules/speech/speech.py index fd67957..f98146e 100644 --- a/modules/speech/speech.py +++ b/modules/speech/speech.py @@ -1,6 +1,6 @@ import speech_recognition as sr -class voiceInput(object): +class voiceInput: recognizer = sr.Recognizer() muted = True diff --git a/speech_daemon.py b/speech_daemon.py index f381b03..9cf7a50 100755 --- a/speech_daemon.py +++ b/speech_daemon.py @@ -13,7 +13,7 @@ homedir = expanduser("~") CONFIG = {} -class speech_daemon(object): +class speech_daemon: voiceInpObj = None deviceIndex = None