fix bug
This commit is contained in:
parent
0ff4fd4ee4
commit
d02f93c858
1 changed files with 2 additions and 2 deletions
4
soui.py
4
soui.py
|
@ -37,9 +37,9 @@ class Affichage:
|
|||
|
||||
def refresh(self):
|
||||
if Microphone().get_status_speaking():
|
||||
self.image.config(PhotoImage(self.speaking))
|
||||
self.image.config(PhotoImage(file = self.speaking))
|
||||
else:
|
||||
self.image.config(PhotoImage(self.notspeaking))
|
||||
self.image.config(PhotoImage(file = self.notspeaking))
|
||||
self.fenetre.update_idletasks()
|
||||
self.fenetre.after(self.buffer, self.refresh)
|
||||
|
||||
|
|
Reference in a new issue