浏览代码

Code cleanup

Ander 11 年之前
父节点
当前提交
eb0b0f04e3
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      mopidy_touchscreen/touch_screen.py

+ 2 - 3
mopidy_touchscreen/touch_screen.py

@@ -5,8 +5,7 @@ from threading import Thread
 
 import pygame
 
-import mopidy
-from mopidy import core
+from mopidy import core, utils
 import pykka
 
 from .screen_manager import ScreenManager
@@ -79,7 +78,7 @@ class TouchScreen(pykka.ThreadingActor, core.CoreListener):
                 else:
                     self.screen_manager.event(event)
         pygame.quit()
-        mopidy.utils.process.exit_process()
+        utils.process.exit_process()
 
     def on_start(self):
         try: