Skip to content

Commit 6dbfe79

Browse files
committed
Fixed nit
1 parent 8d7a1ca commit 6dbfe79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discoverydoccaching/discovery_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def build_and_update(api, version, scopes=None):
4040
_update_discovery_doc(api, version, path)
4141

4242
credentials = GoogleCredentials.get_application_default()
43-
if not scopes is None and credentials.create_scoped_required():
43+
if scopes is not None and credentials.create_scoped_required():
4444
credentials = credentials.create_scoped(scopes)
4545
with open(path, 'r') as discovery_doc:
4646
return build_from_document(discovery_doc.read(),

0 commit comments

Comments
 (0)