ettoreleandrotognoli / python-ami

Python AMI Client
BSD 3-Clause "New" or "Revised" License
107 stars 66 forks source link

SimpleAction Import #8

Closed ctrom closed 7 years ago

ctrom commented 7 years ago

I was unable to import SimpleAction until I added a reference to it on line 6 of client.py.

ettoreleandrotognoli commented 7 years ago

Did you try to import this way "from asterisk.ami.action import SimpleAction"?

ctrom commented 7 years ago

No, I was using from asterisk.ami import SimpleAction since that was the method recommended in the README.

ettoreleandrotognoli commented 7 years ago

You are right, I forgot the doc. I will change the doc or do your suggestion. Thanks!

ettoreleandrotognoli commented 7 years ago

Solved at tag 0.1.2