mbridak / not1mm

Not1MM != N1MM, An amateur radio contest logger for Linux.
GNU General Public License v3.0
100 stars 24 forks source link

fix bug in get_logged_band. #65

Closed mbridak closed 8 months ago

mbridak commented 8 months ago

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