Skip to content

The ZR transmit power cannot be set to zero#122

Merged
chiourung merged 1 commit into
202311.Xfrom
tx_power
Jan 9, 2026
Merged

The ZR transmit power cannot be set to zero#122
chiourung merged 1 commit into
202311.Xfrom
tx_power

Conversation

@chiourung

Copy link
Copy Markdown

"if tx_power:" checks truthiness
It cannot distinguish None vs 0
Use is None / is not None when 0 is a meaningful value

What I did

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

"if tx_power:" checks truthiness
It cannot distinguish None vs 0
Use is None / is not None when 0 is a meaningful value
@chiourung chiourung merged commit c141fa6 into 202311.X Jan 9, 2026
1 check passed
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.

1 participant