Skip to content

Commit

Permalink
fix: 修复可能的 UnboundLocalError 错误
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckDuckStudio committed Jun 30, 2024
1 parent 3aad8bb commit 12bc9df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def log_message(message, log_file):


def out_put(message, success=True):
global fail
# 改变控制台输出颜色
if success:
print(Fore.GREEN + message)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def log_message(message, log_file):


def out_put(message, success=True):
global fail
# 改变控制台输出颜色
if success:
print(Fore.GREEN + message)
Expand Down

0 comments on commit 12bc9df

Please sign in to comment.