Skip to content

Commit

Permalink
change error message for 32 character limit
Browse files Browse the repository at this point in the history
  • Loading branch information
OlteanuRares committed Aug 28, 2024
1 parent 2ea80bc commit 306322f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycaption/scc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ def read(self, content, lang="en-US", simulate_roll_up=False, offset=0):
msg += line + f" - Length { len(line)}" + "\n"
if len(msg):
raise CaptionLineLengthError(
f"32 character limit for caption cue in scc file.\n"
f"Lines longer than 32:\n"
f"Cursor goes over column 32 for caption cue in scc file.\n"
f"Affected lines:\n"
f"{msg}"
)

Expand Down

0 comments on commit 306322f

Please sign in to comment.