namacha / python-magichue

Control Magic Hue(Magichome) in Python.
MIT License
60 stars 12 forks source link

Bug: SyntaxError upon importation #5

Closed ThomasJones4 closed 6 years ago

ThomasJones4 commented 6 years ago

File "B:\Python\python-magichue-0.1\magichue\test1.py", line 2, in <module> import magichue File "B:\Python\python-magichue-0.1\magichue\magichue.py", line 210 self._status = Status(*rgb, self.w, self.is_white, self.on) SyntaxError: only named arguments may follow *expression

namacha commented 6 years ago

Thank you for reporting bug! It seems that you are using python2. I fixed this issue, but I recommend you to use python3. Anyway I would be happy if you try this library again.