diff options
Diffstat (limited to 'client/stt.py')
| -rw-r--r-- | client/stt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/stt.py b/client/stt.py index b59b974..daa3fd3 100644 --- a/client/stt.py +++ b/client/stt.py @@ -119,7 +119,7 @@ class GoogleSTT(object): wav.close() try: - headers={ 'Content-type': 'audio/l16; rate=%s' % GoogleSTT.RATE} + headers = {'Content-type': 'audio/l16; rate=%s' % GoogleSTT.RATE} response = self.http.post(url, data=data, headers=headers) response.encoding = 'utf-8' response_read = response.text |
