ettoreleandrotognoli / python-ami

Python AMI Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleAction Import

ctrom opened this issue · comments

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

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

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

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