(fix) make print_verbose non blocking

This commit is contained in:
ishaan-jaff 2023-12-07 17:31:12 -08:00
parent d2a53f05ed
commit f744445db4
7 changed files with 37 additions and 16 deletions

View file

@ -1,5 +1,8 @@
set_verbose = False
def print_verbose(print_statement):
if set_verbose:
print(print_statement) # noqa
try:
if set_verbose:
print(print_statement) # noqa
except:
pass