Thibauth / python-pushover

Comprehensive bindings and command line utility for the Pushover notification service
GNU General Public License v3.0
182 stars 53 forks source link

Compatibility with Python 3.11.2 #45

Open gui28347 opened 1 year ago

gui28347 commented 1 year ago

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 commented 7 months ago

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

nobody48sheldor commented 3 hours ago

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