aboutsummaryrefslogtreecommitdiffstats
path: root/cli.py
diff options
context:
space:
mode:
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