mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 18:37:50 +00:00
Fix extra blank lines when using log_error()
This commit is contained in:
parent
84b2fbba28
commit
0398dbdcbe
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ def safe_print(*a, **k):
|
|||
|
||||
def log_error(*a, **k):
|
||||
try:
|
||||
msg = k.get('sep', ' ').join(map(str, a)) + k.get('end', '\n')
|
||||
msg = k.get('sep', ' ').join(map(str, a)) + k.get('end', '')
|
||||
log_error_string(msg.replace('\0', ''))
|
||||
except Exception:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue