Ander před 11 roky
rodič
revize
eb0b0f04e3
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  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: