fixed bug, s3 ignored first chunk of files

This commit is contained in:
Christoph Stahl 2022-12-06 15:19:52 +01:00
parent a85c254c9f
commit d745a161bc

View file

@ -53,7 +53,7 @@ class S3Source(Source):
config["tmp_dir"] if "tmp_dir" in config else "/tmp/syng" config["tmp_dir"] if "tmp_dir" in config else "/tmp/syng"
) )
self.index: list[str] = [] self.index: list[str] = config["index"] if "index" in config else []
self.index_file: Optional[str] = ( self.index_file: Optional[str] = (
config["index_file"] if "index_file" in config else None config["index_file"] if "index_file" in config else None
) )