We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting an error that seemed to have been solved in issue #46 when I want to return "N/A" for summoners with no rank.
import riotwatcher from riotwatcher import LoLException w = RiotWatcher(self.config.lol_api_key) for league in w.get_league_entry(args)[str(w.get_summoner(name=theName, region=theRegion))]: try: if league["queue"] == "RANKED_SOLO_5x5": return league["entries"][0]["leaguePoints"]) else: return "N/A" except LoLException as e: return "N/A"
yields me:
# --- Logging error --- # *** TypeError: unhashable type: 'LoLException'
The text was updated successfully, but these errors were encountered:
In the end it was that pip didn't update riotwatcher properly...
Sorry, something went wrong.
No branches or pull requests
I'm getting an error that seemed to have been solved in issue #46 when I want to return "N/A" for summoners with no rank.
yields me:
The text was updated successfully, but these errors were encountered: