Skip to content

Commit

Permalink
fix pprint
Browse files Browse the repository at this point in the history
  • Loading branch information
IngeniariusSoftware committed Aug 16, 2022
1 parent cf7fc45 commit 8040db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/scripts/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def pprint(*data, slowly=False, status=INFO, end='\n', on_the_next_line=False):
if type(token) == list:
token = ''.join(list(map(str, token)))
for line in str(token).split('\n'):
status_str = f'[{[{get_status(status)}]}] ' if status else ''
status_str = f'[{get_status(status)}] ' if status else ''
print(f'{IWhite}{status_str}{line}', end=end)
if slowly:
time.sleep(0.01)
Expand Down

0 comments on commit 8040db3

Please sign in to comment.