Browse Source

Fix import GPIO

9and3r 10 năm trước cách đây
mục cha
commit
77707e1bcb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      mopidy_touchscreen/touch_screen.py

+ 1 - 1
mopidy_touchscreen/touch_screen.py

@@ -53,7 +53,7 @@ class TouchScreen(pykka.ThreadingActor, core.CoreListener):
         self.gpio = config['touchscreen']['gpio']
         if self.gpio:
 
-            from input import GPIOManager
+            from .input.gpio_input_manager import GPIOManager
 
             pins = {}
             pins['left'] = config['touchscreen']['gpio_left']