Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 9d08d26

Browse files
committed
add required whitespaces
1 parent b614d0f commit 9d08d26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gsoc/models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,21 @@ def gen_uuid_str():
5959

6060
def getCreds():
6161
creds = None
62-
if os.path.exists(os.path.join(BASE_DIR,'token.json')):
62+
if os.path.exists(os.path.join(BASE_DIR, 'token.json')):
6363
creds = Credentials.from_authorized_user_file(
64-
os.path.join(BASE_DIR,'token.json'),
64+
os.path.join(BASE_DIR, 'token.json'),
6565
SCOPES
6666
)
6767
if not creds or not creds.valid:
6868
if creds and creds.expired and creds.refresh_token:
6969
creds.refresh(Request())
7070
else:
7171
flow = InstalledAppFlow.from_client_secrets_file(
72-
os.path.join(BASE_DIR,'credentials.json'),
72+
os.path.join(BASE_DIR, 'credentials.json'),
7373
SCOPES
7474
)
7575
creds = flow.run_local_server(port=0)
76-
with open(os.path.join(BASE_DIR,'token.json'), 'w') as token:
76+
with open(os.path.join(BASE_DIR, 'token.json'), 'w') as token:
7777
token.write(creds.to_json())
7878
return creds
7979

0 commit comments

Comments
 (0)