python-pushover icon indicating copy to clipboard operation
python-pushover copied to clipboard

NameError: name 'init' is not defined

Open abeburnett opened this issue 7 years ago • 0 comments

Hi there,

So code which has been working for some time, is no longer working with python-pushover 1.0 running on Python 3.7.

from pushover import init, Client

Used to work, but now gives the error: "NameError: name 'init' is not defined"

However, doing:

import pushover from pushover import Client

Doesn't work either, giving a "ImportError: cannot import name 'Client' from 'pushover'."

Can you please advise how I should now be importing (and using) this module at version 1.0 under Python 3.7? Thank you!

abeburnett avatar Jan 17 '19 22:01 abeburnett