From b64001ef08ae32d190c585e7cf8e6daf47ba2047 Mon Sep 17 00:00:00 2001 From: JotaChina <72946706+JotaChina@users.noreply.github.com> Date: Wed, 24 Jul 2024 20:48:59 -0300 Subject: [PATCH] Update indexa.py --- mmpSearch/scripts/indexa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmpSearch/scripts/indexa.py b/mmpSearch/scripts/indexa.py index c554b9e..8c9fd9c 100644 --- a/mmpSearch/scripts/indexa.py +++ b/mmpSearch/scripts/indexa.py @@ -84,8 +84,8 @@ def process_mmps_in_folder(folder_path): file_name = os.path.basename(destination_path) file_name = os.path.splitext(file_name)[0] + ".mmp" output_file_path = os.path.join(folder_path, file_name) - QT_DEBUG_PLUGINS=1 - QT_QPA_PLATFORM=offscreen + os.environ['QT_DEBUG_PLUGINS'] = '1' + os.environ['QT_QPA_PLATFORM'] = 'offscreen' comando = f'lmms --dump "{destination_path}" > "{output_file_path}"' try: subprocess.run(comando, shell=True, check=True)