Skip to content

Commit e28e176

Browse files
authored
v9.0.1
1 parent 4dc2daf commit e28e176

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Engine/Logging.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ def log(*text):
1414

1515
file.close()
1616

17-
def print(*text):
17+
def print(*text, end="\n"):
1818
"""Логирование в консольnПринимает: (*strings) - строки для логгирования"""
1919
date = datetime.datetime.now()
2020

2121
for i in text:
2222
i = str(i)
23-
print(f"[{'{:2.0f}'.format(date.hour)}:{'{:2.0f}'.format(date.minute)}:{'{:2.0f}'.format(date.second)}]: {str(i)}\n")
23+
print(f"[{'{:2.0f}'.format(date.hour)}:{'{:2.0f}'.format(date.minute)}:{'{:2.0f}'.format(date.second)}]: {str(i)}{end}")

0 commit comments

Comments
 (0)