Ver código fonte

Code cleanup

Ander 11 anos atrás
pai
commit
eb0b0f04e3
1 arquivos alterados com 2 adições e 3 exclusões
  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: