diff --git a/mopidy_touchscreen/main_screen.py b/mopidy_touchscreen/main_screen.py index 35df2f4..ef428ca 100644 --- a/mopidy_touchscreen/main_screen.py +++ b/mopidy_touchscreen/main_screen.py @@ -9,7 +9,7 @@ import urllib2 import pygame -from .screen_objects import ScreenObjectsManager, Progressbar, \ +from .screen_objects import Progressbar, ScreenObjectsManager, \ TextItem, TouchAndTextItem from .touch_manager import TouchManager diff --git a/mopidy_touchscreen/screen_manager.py b/mopidy_touchscreen/screen_manager.py index b6fdbe9..75eeb27 100644 --- a/mopidy_touchscreen/screen_manager.py +++ b/mopidy_touchscreen/screen_manager.py @@ -1,8 +1,8 @@ import logging -import mopidy from pkg_resources import Requirement, resource_filename import traceback +import mopidy import mopidy.core import pygame @@ -252,5 +252,3 @@ class ScreenManager(): else: internet.set_text(u"\ue602", None) internet.set_active(connection) - - diff --git a/mopidy_touchscreen/touch_screen.py b/mopidy_touchscreen/touch_screen.py index c4d5810..74ccd0d 100644 --- a/mopidy_touchscreen/touch_screen.py +++ b/mopidy_touchscreen/touch_screen.py @@ -4,7 +4,6 @@ import traceback import pygame import pykka - from mopidy import core from .screen_manager import ScreenManager diff --git a/mopidy_touchscreen/touch_screen_backend.py b/mopidy_touchscreen/touch_screen_backend.py index bd0f38e..7881ba1 100644 --- a/mopidy_touchscreen/touch_screen_backend.py +++ b/mopidy_touchscreen/touch_screen_backend.py @@ -3,6 +3,7 @@ import logging from mopidy import backend import pykka + logger = logging.getLogger(__name__)