aboutsummaryrefslogtreecommitdiffstats
path: root/cli.py
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-17 12:58:44 +0000
committerAlex Schofield <git@ajschof.me>2025-02-17 12:58:44 +0000
commit08ab3d77f1a36c72340858a8ff8c3e57246dc8f4 (patch)
treeb5e456dc1b929f3c3f21d63f2633138f00118553 /cli.py
parent82ea5c29c444bc9d050d80c0ad24ed7975c49595 (diff)
downloadgdpr-obfuscator-08ab3d77f1a36c72340858a8ff8c3e57246dc8f4.tar.gz
gdpr-obfuscator-08ab3d77f1a36c72340858a8ff8c3e57246dc8f4.zip
debug log csv data instead of printing
Diffstat (limited to 'cli.py')
-rw-r--r--cli.py4
1 files changed, 2 insertions, 2 deletions
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")
git.ajschof.me — hosted by ajschofield — powered by cgit