Fix import for standalone player

This commit is contained in:
Matthew Stratford 2020-11-05 19:06:16 +00:00
parent 81eb1746df
commit 0a04398849
No known key found for this signature in database
GPG key ID: 9E53C8B3F0B57395

View file

@ -37,6 +37,7 @@ os.environ['PYGAME_HIDE_SUPPORT_PROMPT'] = "hide"
from pygame import mixer from pygame import mixer
from mutagen.mp3 import MP3 from mutagen.mp3 import MP3
from helpers.os_environment import isMacOS
from helpers.state_manager import StateManager from helpers.state_manager import StateManager
from helpers.logging_manager import LoggingManager from helpers.logging_manager import LoggingManager
@ -498,7 +499,7 @@ def showOutput(in_q, out_q):
if __name__ == "__main__": if __name__ == "__main__":
if isMacOS: if isMacOS():
multiprocessing.set_start_method("spawn", True) multiprocessing.set_start_method("spawn", True)
in_q = multiprocessing.Queue() in_q = multiprocessing.Queue()