diff --git a/.gitignore b/.gitignore index 68eff0a..b729e7d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,5 @@ __pycache__ *.ini -mijia/* -miflora/* +mijia +miflora diff --git a/read.py b/read.py index 79e47af..67fbf97 100644 --- a/read.py +++ b/read.py @@ -35,4 +35,4 @@ if __name__ == '__main__' and __package__ is None: from mijia.mijia.mijia_poller import MijiaPoller poller = MijiaPoller(mac_addr) - save_data(device, poller) + save_data(mac_addr, device, poller)