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
> python .\app.py Traceback (most recent call last): File ".\app.py", line 154, in <module> app = TerraStateApi(__name__) File ".\app.py", line 137, in __init__ for code in default_exceptions.iterkeys(): AttributeError: 'dict' object has no attribute 'iterkeys'
I've fixed this by replacing iterkeys with keys:
iterkeys
keys
# add custom error handler for code in default_exceptions.keys(): self.register_error_handler(code, self.make_json_error)
I'm not sure how to make this fix backward compatible, so I just leave it here in case someone else encounters this issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've fixed this by replacing
iterkeys
withkeys
:I'm not sure how to make this fix backward compatible, so I just leave it here in case someone else encounters this issue.
The text was updated successfully, but these errors were encountered: