mbridak / not1mm

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

crash fix, bandmap.py, string was presented as tuple. #67

Closed mbridak closed 6 months ago

mbridak commented 6 months ago

rewrite:

self.cursor.execute(
            f"select * from spots where freq >= {start} ",
            f"and freq <= {end} and callsign like '%{dx}%';",
        )

as:

self.cursor.execute(
            f"select * from spots where freq >= {start} "
            f"and freq <= {end} and callsign like '%{dx}%';"
        )

Fixing crash.