diff --git a/RA3MP3Playback.py b/RA3MP3Playback.py index 9aa83be..b83308a 100644 --- a/RA3MP3Playback.py +++ b/RA3MP3Playback.py @@ -1,5 +1,4 @@ from pathlib import Path -import pty import threading import time import os @@ -12,6 +11,9 @@ import psutil import subprocess import getpass +if (os.name != "nt"): + import pty + os.environ["PYGAME_HIDE_SUPPORT_PROMPT"] = "1" import pygame