From 1ccffecc3710483cbee8538c8fe6293dbf793c21 Mon Sep 17 00:00:00 2001 From: George Lacey Date: Fri, 7 May 2021 10:59:14 +0100 Subject: [PATCH] print first line --- src/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.py b/src/main.py index b8f53c2..e6d7825 100644 --- a/src/main.py +++ b/src/main.py @@ -25,6 +25,7 @@ def main(args, path: Path, log: Log): else: sleep(1) log.debug("reading from stdin") + print(stdin.readline()) borg_output = " ".join(stdin.readlines()) log.debug(f"stdin output: {borg_output}") if args.label is None: