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

@mbridak Provided initial condition for root. #211

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

mbridak
Copy link
Owner

@mbridak mbridak commented Nov 5, 2024

    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.

@mbridak mbridak self-assigned this Nov 5, 2024
@mbridak mbridak added the bug Something isn't working label Nov 5, 2024
@mbridak mbridak merged commit 05ecdb6 into master Nov 5, 2024
3 checks passed
@mbridak mbridak deleted the session_what_session branch November 5, 2024 19:06
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