Skip to content

Commit

Permalink
Require click8+ (API incompatibility on result_callback) (#1378)
Browse files Browse the repository at this point in the history
* fixing AttributeError with result_callback

* updating pyproject.toml
  • Loading branch information
Sir-Photch authored Apr 6, 2022
1 parent 68c77bc commit a7adf5a
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 279 deletions.
2 changes: 1 addition & 1 deletion miio/integrations/vacuum/roborock/vacuum_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def cli(ctx, ip: str, token: str, debug: int, id_file: str):
cleanup(vac, id_file=id_file)


@cli.resultcallback()
@cli.result_callback()
@pass_dev
def cleanup(vac: RoborockVacuum, *args, **kwargs):
if vac.ip is None: # dummy Device for discovery, skip teardown
Expand Down
Loading

0 comments on commit a7adf5a

Please sign in to comment.