Skip to content

Get stream length value in a variable#25

Closed
Yay295 wants to merge 1 commit intoradarhere:stringsfrom
Yay295:patch-2
Closed

Get stream length value in a variable#25
Yay295 wants to merge 1 commit intoradarhere:stringsfrom
Yay295:patch-2

Conversation

@Yay295
Copy link
Copy Markdown

@Yay295 Yay295 commented May 7, 2024

This gets the string to fit on one line.

Comment on lines +825 to 826
stream_len_str = result.get(b"Length")
try:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
stream_len_str = result.get(b"Length")
try:
try:
stream_len_str = result.get(b"Length")

is IMO the easiest to understand.

@Yay295 Yay295 closed this May 7, 2024
@Yay295 Yay295 deleted the patch-2 branch May 7, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants