Skip to content

Commit 10839f3

Browse files
author
Saimon Michelson
committed
update verification and remove redundant if statement
1 parent c1a43ba commit 10839f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cterasdk/direct/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async def get_object(client, file_id, chunk):
7474

7575

7676
def is_azure_object_storage(chunk):
77-
return True if urllib.parse.urlparse(chunk.url).netloc.endswith('core.windows.net') else False
77+
return urllib.parse.urlparse(chunk.url).netloc.endswith('core.windows.net')
7878

7979

8080
async def decrypt_object(file_id, encrypted_object, encryption_key, chunk):

0 commit comments

Comments
 (0)