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

AttributeError #3

Open
birchtree02 opened this issue Apr 24, 2016 · 3 comments
Open

AttributeError #3

birchtree02 opened this issue Apr 24, 2016 · 3 comments

Comments

@birchtree02
Copy link

birchtree02 commented Apr 24, 2016

Hi, I tried the example code on the ReadMe but I come up with the following error message:
AttributeError: 'module' object has no attribute 'ifttt'
Do you know what is happening and how I could fix it?

@sweemeng
Copy link
Owner

Can I see the code? And where you run the code?

@birchtree02
Copy link
Author

`import ifttt_maker

ifttt = ifttt_maker.Ifttt("event_name", "secret key")
ifttt.trigger(value1="value1", value2="value2", value3="value3")`

That's the code. (Yes, I have replaced "secret key" with my key). It is in the root directory on my raspberry pi.

@sweemeng
Copy link
Owner

oops. I know why. I didn't test this in python 3. In python 3 it have the same behavior, it is due to import part

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

2 participants