From f418adf7274b2071d4b6dd399a380e2ae469a51b Mon Sep 17 00:00:00 2001 From: George Lacey Date: Fri, 7 May 2021 11:12:09 +0100 Subject: [PATCH] Print stdin at start --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index c56323d..dfa95a5 100644 --- a/src/main.py +++ b/src/main.py @@ -23,7 +23,6 @@ def main(args, path: Path, log: Log): summary = Summary(db) print(summary.repo_stats()) else: - sleep(5) log.debug("reading from stdin") borg_output = " ".join(stdin.readlines()) log.debug(f"stdin output: {borg_output}") @@ -50,6 +49,7 @@ def get_args(): if __name__ == "__main__": + print(stdin.readlines()) m_args = get_args() m_path = Path(realpath(__file__)).parent.parent m_log = Log(LEVEL_DEBUG)