diff --git a/mopidy_touchscreen/main_screen.py b/mopidy_touchscreen/main_screen.py index 94fc418..ef428ca 100644 --- a/mopidy_touchscreen/main_screen.py +++ b/mopidy_touchscreen/main_screen.py @@ -6,6 +6,7 @@ from threading import Thread import time import urllib import urllib2 + import pygame from .screen_objects import Progressbar, ScreenObjectsManager, \ diff --git a/mopidy_touchscreen/screen_manager.py b/mopidy_touchscreen/screen_manager.py index 6cbd846..19ded3b 100644 --- a/mopidy_touchscreen/screen_manager.py +++ b/mopidy_touchscreen/screen_manager.py @@ -1,8 +1,8 @@ import logging import traceback -import pygame -from pkg_resources import Requirement, resource_filename +import pygame +from pkg_resources import resource_filename, Requirement import mopidy import mopidy.core diff --git a/mopidy_touchscreen/touch_screen.py b/mopidy_touchscreen/touch_screen.py index 48d0bcb..d4cb65b 100644 --- a/mopidy_touchscreen/touch_screen.py +++ b/mopidy_touchscreen/touch_screen.py @@ -1,10 +1,10 @@ import logging from threading import Thread import traceback -import pygame import pykka from mopidy import core +import pygame from .screen_manager import ScreenManager diff --git a/mopidy_touchscreen/touch_screen_backend.py b/mopidy_touchscreen/touch_screen_backend.py index 7881ba1..faafbe1 100644 --- a/mopidy_touchscreen/touch_screen_backend.py +++ b/mopidy_touchscreen/touch_screen_backend.py @@ -1,7 +1,8 @@ import logging +import pykka from mopidy import backend -import pykka + logger = logging.getLogger(__name__)