aboutsummaryrefslogtreecommitdiffstats
path: root/cli.py
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-14 13:59:03 +0000
committerAlex Schofield <git@ajschof.me>2025-02-14 13:59:03 +0000
commitbebcd423e7ca5aa620b8ceeef67e77daa3f14f0f (patch)
treeabae3b3f09d9dce311485475a02d3bbb8d67ac67 /cli.py
parentafcf7339eec26144e4ab99a3e67e60fb38932960 (diff)
downloadgdpr-obfuscator-bebcd423e7ca5aa620b8ceeef67e77daa3f14f0f.tar.gz
gdpr-obfuscator-bebcd423e7ca5aa620b8ceeef67e77daa3f14f0f.zip
process path in CSVReader methods & fix import paths
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 23c9057..885573d 100644
--- a/cli.py
+++ b/cli.py
@@ -14,8 +14,8 @@ def main():
if args.local and not args.s3:
logger.debug("User chose to read CSV from local path")
- reader = CSVReader(args.local)
- data = reader.read_local()
+ reader = CSVReader()
+ data = reader.read_local(args.local)
print(data)
else:
logger.debug("User chose to read CSV from S3")
git.ajschof.me — hosted by ajschofield — powered by cgit