Update cli.py to addresss crash on year/month calls and improve output formatting (#103)

* Update cli.py

Fix crash when kasa cli is called with --month or --year arguments.

* Update cli.py

* Fix crash on emeter monthly, yearly cli calls

* Formatting fix.
This commit is contained in:
BuongiornoTexas
2020-10-04 05:32:38 +11:00
committed by GitHub
parent c59b748a06
commit 70061cbe67
2 changed files with 19 additions and 8 deletions

3
.gitignore vendored
View File

@@ -19,6 +19,9 @@ __pycache__/
# IntelliJ
.idea
# vscode
.vscode
# VirtualEnvs
venv
.venv