From 37e09d10daddb45811c087f90bf9645004dea283 Mon Sep 17 00:00:00 2001 From: Christoph Stahl Date: Tue, 29 Nov 2022 23:07:57 +0100 Subject: [PATCH] only add cdg files for s3 --- syng/sources/s3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/syng/sources/s3.py b/syng/sources/s3.py index aff3702..6025370 100644 --- a/syng/sources/s3.py +++ b/syng/sources/s3.py @@ -52,6 +52,7 @@ class S3Source(Source): self.index = [ obj.object_name for obj in self.minio.list_objects(self.bucket, recursive=True) + if obj.object_name.endswith(".cdg") ] print("s3: Indexing done") # with open("s3_files", "w") as f: