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