From bd031ef547cdce97ab0efb2a5c03d66abf5407a9 Mon Sep 17 00:00:00 2001 From: EillesWan Date: Tue, 22 Oct 2024 00:33:54 +0800 Subject: [PATCH] =?UTF-8?q?Bug=E5=B0=8F=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Musicreater/__init__.py | 2 +- Musicreater/plugin/bdxfile/main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Musicreater/__init__.py b/Musicreater/__init__.py index e914fd2..ef11a91 100644 --- a/Musicreater/__init__.py +++ b/Musicreater/__init__.py @@ -22,7 +22,7 @@ The Licensor of Musicreater("this project") is Eilles Wan, bgArray. # 若需转载或借鉴 许可声明请查看仓库目录下的 License.md -__version__ = "2.2.2" +__version__ = "2.2.2.1" __vername__ = "部分API小幅度新增内容" __author__ = ( ("金羿", "Eilles Wan"), diff --git a/Musicreater/plugin/bdxfile/main.py b/Musicreater/plugin/bdxfile/main.py index 7cedc19..3f85364 100644 --- a/Musicreater/plugin/bdxfile/main.py +++ b/Musicreater/plugin/bdxfile/main.py @@ -71,7 +71,7 @@ def to_BDX_file_in_score( os.makedirs(dist_path) with open( - os.path.abspath(os.path.join(dist_path, f"{midi_cvt.music_name}.bdx")), + os.path.abspath(os.path.join(dist_path, f"{midi_cvt.music_name}[score].bdx")), "w+", ) as f: f.write("BD@") @@ -164,7 +164,7 @@ def to_BDX_file_in_delay( os.makedirs(dist_path) with open( - os.path.abspath(os.path.join(dist_path, f"{midi_cvt.music_name}.bdx")), + os.path.abspath(os.path.join(dist_path, f"{midi_cvt.music_name}[delay].bdx")), "w+", ) as f: f.write("BD@")