diff options
| author | Alex Schofield <git@ajschof.me> | 2025-02-14 12:59:30 +0000 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2025-02-14 12:59:30 +0000 |
| commit | 02478f2e48302441f86f3eeaba80119d6bc7ccf1 (patch) | |
| tree | 6e957982a8a12bbce5d01f9435b416c32a2b05a5 | |
| parent | 9bc5d21ae7376792c6a4813e1f1ef16bfb42ec37 (diff) | |
| download | gdpr-obfuscator-02478f2e48302441f86f3eeaba80119d6bc7ccf1.tar.gz gdpr-obfuscator-02478f2e48302441f86f3eeaba80119d6bc7ccf1.zip | |
update cli.py to properly read from local csv files
| -rw-r--r-- | cli.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ import argparse -from obfuscator.csv_reader import read_local, read_s3 +from obfuscator.csv_reader import CSVReader def main(): parser = argparse.ArgumentParser(description="gdpr-obfuscator") @@ -10,7 +10,9 @@ def main(): args = parser.parse_args() if args.local and not args.s3: - print(read(args.local)) + reader = CSVReader(args.local) + data = reader.read_local() + print(data) else: pass |
