aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-19 03:37:14 +0000
committerAlex Schofield <git@ajschof.me>2025-02-19 03:37:14 +0000
commit6b0fc64f71b65625ee59dffc8b8bd0459cde64fb (patch)
tree1a6fe6f08c1dac268ede2fe6acff02246d527995
parentbc3e976ff9b51ca47fa7ec6465b40e2e41ed6d0d (diff)
downloadgdpr-obfuscator-6b0fc64f71b65625ee59dffc8b8bd0459cde64fb.tar.gz
gdpr-obfuscator-6b0fc64f71b65625ee59dffc8b8bd0459cde64fb.zip
call read_string via self in read_s3
-rw-r--r--obfuscator/csv_reader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obfuscator/csv_reader.py b/obfuscator/csv_reader.py
index 97f67b7..1f503d7 100644
--- a/obfuscator/csv_reader.py
+++ b/obfuscator/csv_reader.py
@@ -62,7 +62,7 @@ class CSVReader:
response = client.get_object(Bucket=bucket, Key=key)
self.logger.info("S3 object read successfully")
content = response["Body"].read().decode("utf-8")
- return CSVReader.read_string(content)
+ return self.read_string(content)
except client.exceptions.NoSuchKey:
self.logger.error(f"Object not found: {bucket}/{key}")
raise
git.ajschof.me — hosted by ajschofield — powered by cgit