Skip to content

Commit

Permalink
fix: 修改Python版本造成的打印错误
Browse files Browse the repository at this point in the history
  • Loading branch information
fishros committed Sep 23, 2023
1 parent bd84801 commit 3b4f62b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def main():

tip = """===============================================================================
======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!=======
======一键安装已开源,请放心使用:https://github.com/fishros/install=======
======一键安装已开源,请放心使用:https://github.com/fishros/install =======
===============================================================================
"""
end_tip = """===============================================================================
Expand Down
2 changes: 1 addition & 1 deletion tools/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ def __choose(data,tips,array,categories):
tool_ids = [0]
# 打印不同类型工具的分类结果
for tool_type, tools_list in dic.items():
PrintUtils.print_delay(f"{categories[tool_type]}:",0.005)
PrintUtils.print_delay("{}:".format(categories[tool_type]),0.005)
for tool_id,tool_info in tools_list.items():
PrintUtils.print_delay(" [{}]:{}".format(tool_id,tool_info['tip']),0.005)
tool_ids.append(tool_id)
Expand Down

0 comments on commit 3b4f62b

Please sign in to comment.