Skip to content

Commit

Permalink
[refactor] Remove never used variable (F841)
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext committed Apr 2, 2024
1 parent d2ff8ba commit 112c0c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion speech_recognition/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,6 @@ def recognize_amazon(self, audio_data, bucket_name=None, access_key_id=None, sec
except ClientError as exc:
print('Error creating bucket %s: %s' % (bucket_name, exc))
s3res = session.resource('s3')
bucket = s3res.Bucket(bucket_name)
if audio_data is not None:
print('Uploading audio data...')
wav_data = audio_data.get_wav_data()
Expand Down

0 comments on commit 112c0c4

Please sign in to comment.