Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug in get_logged_band. #65

Merged
merged 3 commits into from
Jan 21, 2024
Merged

fix bug in get_logged_band. #65

merged 3 commits into from
Jan 21, 2024

Conversation

mbridak
Copy link
Owner

@mbridak mbridak commented Jan 21, 2024

Crash when OOB.

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.9/site-packages/not1mm/__main__.py", line 2208, in poll_radio
    self.contact["Band"] = get_logged_band(str(vfo))
  File "/home/user/.local/lib/python3.9/site-packages/not1mm/lib/ham_utility.py", line 156, in get_logged_band
    if 10500000000 > freq > 2300000000:
TypeError: '>' not supported between instances of 'int' and 'str'
Aborted

@mbridak mbridak self-assigned this Jan 21, 2024
@mbridak mbridak added the bug Something isn't working label Jan 21, 2024
@mbridak mbridak merged commit 9045f80 into master Jan 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant