mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 17:27:31 +00:00
Merge pull request #3032 from ThomasWaldmann/stderr-flush
flush json mode progress stderr output
This commit is contained in:
commit
9e9398e6cc
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def output_json(self, *, finished=False, **kwargs):
|
|||
finished=finished,
|
||||
time=time.time(),
|
||||
))
|
||||
print(json.dumps(kwargs), file=sys.stderr)
|
||||
print(json.dumps(kwargs), file=sys.stderr, flush=True)
|
||||
|
||||
def finish(self):
|
||||
if self.json:
|
||||
|
|
Loading…
Reference in a new issue