Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update googleapiclient/discovery.py
Co-authored-by: Anthonios Partheniou <[email protected]>
  • Loading branch information
Fahrenheit2539 and parthea authored Apr 29, 2021
commit 868aba9103a0c32864247722d76ce6295c6ebb79
2 changes: 1 addition & 1 deletion googleapiclient/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def _discovery_service_uri_options(discoveryServiceUrl, version):
A list of URIs to be tried for the Service Discovery, in order.
"""

if not discoveryServiceUrl is None:
if discoveryServiceUrl is not None:
return [discoveryServiceUrl]
if version is None:
# V1 Discovery won't work if the requested version is None
Expand Down