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

Compatibility with Python 3.11.2 #45

Open
gui28347 opened this issue Jun 12, 2023 · 2 comments
Open

Compatibility with Python 3.11.2 #45

gui28347 opened this issue Jun 12, 2023 · 2 comments

Comments

@gui28347
Copy link

Can you make it compatible with Python 3.11.2 ?

It has few errors like:
client.send_message("test")
File "/usr/local/lib/python3.11/dist-packages/pushover.py", line 259, in send_message
for key, value in kwords.iteritems():
^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'iteritems'

@bjenmonk
Copy link

Instead of iteritems() it should just be items() in Python3.

@nobody48sheldor
Copy link

Also, I noticed that ConfigParser is now supposed to be configparser when importing elements in pushover.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants