Skip to content

Commit

Permalink
fix: 修复早期Python版本打印错误
Browse files Browse the repository at this point in the history
  • Loading branch information
fishros committed Sep 6, 2024
1 parent 043e059 commit bf8e6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ def print_warn(data,end="\n"):
PrintUtils.print_text("\033[33m{}\033[37m".format(data),end=end)

@staticmethod
def print_text(values: object="",end: str | None = "\n",flush= False):
def print_text(values="",end="\n",flush= False):
print(values,end=end,flush=flush)
Tracking.put_log(values,end=end)

Expand Down

0 comments on commit bf8e6d8

Please sign in to comment.