Update separate.py

This commit is contained in:
Anjok07
2022-12-30 04:40:28 -06:00
committed by GitHub
parent c9ddbb8ee7
commit 8dffff5f54

View File

@@ -913,7 +913,7 @@ def save_format(audio_path, save_format, mp3_bit_set):
if not save_format == WAV: if not save_format == WAV:
if not OPERATING_SYSTEM == 'Windows': if OPERATING_SYSTEM == 'Darwin':
FFMPEG_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'ffmpeg') FFMPEG_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'ffmpeg')
pydub.AudioSegment.converter = FFMPEG_PATH pydub.AudioSegment.converter = FFMPEG_PATH