Skip to content

Potential bug in the run() method of TranscriptionWorker in audio_recorder.py #277

@eraus

Description

@eraus

In the run() method of the TranscriptionWorker class in audio_recorder.py, there is a line of code that reads if audio is not None and audio .size > 0:. It seems that this is a syntax error due to the space between audio and .size. Yet, the program runs without any error or warning message. If the intention is audio.size, this can be a potential bug down the road, even if it works now. Any reason why it still works?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions