mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 22:25:39 +00:00
Code Cleanup
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import logging
|
||||
import os
|
||||
from threading import Thread
|
||||
import traceback
|
||||
from threading import Thread
|
||||
|
||||
import pygame
|
||||
import pykka
|
||||
|
||||
import mopidy
|
||||
from mopidy import core
|
||||
|
||||
@@ -43,6 +44,7 @@ class TouchScreen(pykka.ThreadingActor, core.CoreListener):
|
||||
# Raspberry pi GPIO
|
||||
self.gpio = config['touchscreen']['gpio']
|
||||
if self.gpio:
|
||||
|
||||
from .gpio_inpput_manager import GPIOManager
|
||||
|
||||
pins = {}
|
||||
|
||||
Reference in New Issue
Block a user