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

TypeError: not enough arguments for format string in airpurifier.py #264

Closed
sq5gvm opened this issue Mar 14, 2018 · 0 comments
Closed

TypeError: not enough arguments for format string in airpurifier.py #264

sq5gvm opened this issue Mar 14, 2018 · 0 comments

Comments

@sq5gvm
Copy link
Contributor

sq5gvm commented Mar 14, 2018

Commit 65aeca5 that added button_pressed property introduced two errors, one of which results in module not working and returning error messages as:

Traceback (most recent call last):
  File "./MyAir.py", line 64, in <module>
    print(MyAir.status())
  File "/usr/local/lib/python3.5/dist-packages/miio/airpurifier.py", line 322, in __repr__
    "button_pressed=%s>" % \
TypeError: not enough arguments for format string

Merge request on its way.

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