Closed mbridak closed 10 months ago
The culprit:
self.cursor.execute(
f"select * from spots where freq >= {start} ",
f"and freq <= {end} and callsign like '%{dx}%';",
)
It seems when trying to make the linter happy, we changed the simple long string into a tuple. We just need to remove the commas at the end of the f-strings.
self.cursor.execute(
f"select * from spots where freq >= {start} "
f"and freq <= {end} and callsign like '%{dx}%';"
)
Voila...
Describe the bug
If you press CTRL-G in the main window to tell the bandmap to fetch the spot matching the supplied string. It will now fail.
To Reproduce
Start not1mm and pull up the bandmap. Enter your call in the bandmap. In the main not1mm window, type some characters in the callsign field and press CTRL-G.
Result
Expected
Not crashing would be very nice.