mbridak / not1mm

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

@mbridak Provided initial condition for root. #211

Closed mbridak closed 2 weeks ago

mbridak commented 2 weeks ago
    def lookup(self, call: str) -> dict:
        """
        Lookup a call on QRZ
        """
        logger.info("%s", call)
        root = {}  # <- This B The Fix
        if self.session:
            ...
            # Stuff follows
        return root.get("Callsign")

defined root, so now fails silently.