mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Microdecision : fix wobbly / messed up debug logs when running apt stuff inside app scripts
This commit is contained in:
parent
9696b14196
commit
3668bf7bc3
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ def hook_exec(path, args=None, raise_on_error=False, no_trace=False,
|
|||
|
||||
# Define output callbacks and call command
|
||||
callbacks = (
|
||||
stdout_callback if stdout_callback else lambda l: logger.debug(l.rstrip()),
|
||||
stdout_callback if stdout_callback else lambda l: logger.debug(l.rstrip()+"\r"),
|
||||
stderr_callback if stderr_callback else lambda l: logger.warning(l.rstrip()),
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue