Skip to content

Commit

Permalink
Azure: remove unnecessary check (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneier committed Sep 9, 2019
1 parent 2fbaa70 commit b1d8e82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions storages/backends/azure_storage.py
Expand Up @@ -276,11 +276,10 @@ def url(self, name, expire=None):
self.azure_container, name, permission=BlobPermissions.READ, expiry=self._expire_at(expire))
make_blob_url_kwargs['sas_token'] = sas_token

if self.azure_protocol:
make_blob_url_kwargs['protocol'] = self.azure_protocol
return self.custom_service.make_blob_url(
container_name=self.azure_container,
blob_name=filepath_to_uri(name),
protocol=self.azure_protocol,
**make_blob_url_kwargs)

def get_modified_time(self, name):
Expand Down

0 comments on commit b1d8e82

Please sign in to comment.