Skip to content

Commit

Permalink
fix: don't set delimiter if unordered list is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Salar Nosrati-Ershad committed Nov 11, 2023
1 parent a2b1bdf commit e98a7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S3/S3.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def bucket_list_noparse(self, bucket, prefix = None, recursive = None, uri_param
uri_params = {}
if prefix:
uri_params['prefix'] = prefix
if not self.config.recursive and not recursive:
if not self.config.recursive and not recursive and not self.config.list_allow_unordered:
uri_params['delimiter'] = "/"
if max_keys != -1:
uri_params['max-keys'] = str(max_keys)
Expand Down

0 comments on commit e98a7d9

Please sign in to comment.