Skip to content
This repository was archived by the owner on Oct 22, 2023. It is now read-only.
This repository was archived by the owner on Oct 22, 2023. It is now read-only.

Support for one blank caption file #114

@tkgix

Description

@tkgix

Thank you for your hard work.

Could you please allow a caption file containing only one space to be recognized?
Currently, the exception is caused by the code below.

identifier = f.readline().rstrip()
f.close()
if len(identifier) < 1:
raise ValueError(f" *** Could not find valid text in: {txt_file_path}")

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