Skip to content

Commit

Permalink
check_update now obeys the do_pause parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikatr7 committed May 15, 2024
1 parent c2d6a90 commit 7541bf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/common/toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ def check_update(do_pause:bool=True) -> typing.Tuple[bool, str]:

print("You seem to lack an internet connection, this will prevent you from checking from update notification and machine translation.\n")

Toolkit.pause_console()
if(do_pause):
Toolkit.pause_console()

is_connection = False

Expand Down

0 comments on commit 7541bf2

Please sign in to comment.