diff --git a/boto/s3/bucket.py b/boto/s3/bucket.py index 4aac75267e..ec528ec3af 100644 --- a/boto/s3/bucket.py +++ b/boto/s3/bucket.py @@ -379,7 +379,7 @@ def _get_all_query_args(self, params, initial_query_string=''): value = six.text_type(value) if not isinstance(value, six.binary_type): value = value.encode('utf-8') - if value != '': + if value != six.binary_type(''): pairs.append(u'%s=%s' % ( urllib.parse.quote(key), urllib.parse.quote(value)