kumquat-buildroot/package/python-huepy/0001-fix-import-with-python3.patch
Louis Aussedat 2be8b37a1e package/python-huepy: fix build with python3.8
Fixes:
  - http://autobuild.buildroot.net/results/240c397a6479b98f30b63b5135bfb2e45281de7d

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2019-11-14 21:46:36 +01:00

9 lines
175 B
Diff

--- a/huepy/__init__.py
+++ b/huepy/__init__.py
@@ -1,4 +1,4 @@
-from hue import COMMANDS
+from .hue import COMMANDS
__all__ = list(COMMANDS.keys())
__version__ = '1.0.1'