From c60a2714f9c156f7be310c9cad4b0ee913e0728c Mon Sep 17 00:00:00 2001 From: 9and3r <9and3r@gmail.com> Date: Tue, 5 Aug 2014 20:39:56 +0200 Subject: [PATCH] Import fixes --- mopidy_touchscreen/main_screen.py | 2 +- mopidy_touchscreen/screen_manager.py | 4 +--- mopidy_touchscreen/touch_screen.py | 1 - mopidy_touchscreen/touch_screen_backend.py | 1 + 4 files changed, 3 insertions(+), 5 deletions(-) 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__)