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

Support for one blank caption file #114

Open
tkgix opened this issue Feb 25, 2023 · 0 comments
Open

Support for one blank caption file #114

tkgix opened this issue Feb 25, 2023 · 0 comments

Comments

@tkgix
Copy link

tkgix commented Feb 25, 2023

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}")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant