From 08ab3d77f1a36c72340858a8ff8c3e57246dc8f4 Mon Sep 17 00:00:00 2001 From: Alex Schofield Date: Mon, 17 Feb 2025 12:58:44 +0000 Subject: debug log csv data instead of printing --- cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli.py') diff --git a/cli.py b/cli.py index 7fb4393..f5590e6 100644 --- a/cli.py +++ b/cli.py @@ -14,14 +14,14 @@ def main(): loc.add_argument("--s3") parser.add_argument("--pii", nargs="+", required=True) - + args = parser.parse_args() if args.local and not args.s3: logger.debug("User chose to read CSV from local path") reader = CSVReader() data = reader.read_local(args.local) - print(data) + logger.debug(data) else: logger.debug("User chose to read CSV from S3") -- cgit v1.2.3