From 58069165510b5cb14532b9d0b552ba733068bd3a Mon Sep 17 00:00:00 2001 From: EillesWan Date: Mon, 2 Oct 2023 18:22:40 +0800 Subject: [PATCH] ok --- llc_cli.py | 6 +++--- llc_spec_Creeper.py | 2 -- utils/io.py | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/llc_cli.py b/llc_cli.py index 2dda336..a4f053a 100644 --- a/llc_cli.py +++ b/llc_cli.py @@ -22,18 +22,18 @@ import random import sys import Musicreater +from Musicreater.constants import DEFAULT_PROGRESSBAR_STYLE from Musicreater.plugin import ConvertConfig -from Musicreater.plugin.bdxfile import to_BDX_file_in_delay, to_BDX_file_in_score from Musicreater.plugin.addonpack import ( to_addon_pack_in_delay, to_addon_pack_in_repeater, to_addon_pack_in_score, ) -from Musicreater.constants import DEFAULT_PROGRESSBAR_STYLE +from Musicreater.plugin.bdxfile import to_BDX_file_in_delay, to_BDX_file_in_score +from utils.io import * # from Musicreater.plugin.mcstructure import commands_to_structure, commands_to_redstone_delay_structure -from utils.io import * MainConsole.print( "[#121110 on #F0F2F4] ", diff --git a/llc_spec_Creeper.py b/llc_spec_Creeper.py index 0806346..045db11 100644 --- a/llc_spec_Creeper.py +++ b/llc_spec_Creeper.py @@ -98,8 +98,6 @@ while True: speed: float = format_ipt("播放速度", float_str, "错误,需要浮点型数据;请重新输入。")[1] - - final_result: Dict[str, Dict[int, List[Tuple[str, int, str]]]] = {} for single_midi in midis: diff --git a/utils/io.py b/utils/io.py index 1ea7180..cfa2631 100644 --- a/utils/io.py +++ b/utils/io.py @@ -1,6 +1,6 @@ import urllib.error import urllib.request -from typing import Any, Callable, Literal, Optional, Set, TextIO, Tuple, Dict, List +from typing import Any, Callable, Dict, List, Literal, Optional, Set, TextIO, Tuple import TrimLog from TrimLog import Console, object_constants