Skip to content

Commit 07fcdfe

Browse files
committed
Simplify code
1 parent 9a81da9 commit 07fcdfe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ def get_token():
2929
if response.status_code == 200:
3030
response_json = response.json()
3131
refresh_token_ = response_json['refresh_token']
32-
33-
with open("refresh_token.txt", "w") as f:
34-
f.write(refresh_token_)
32+
print(refresh_token_)
3533
return jsonify("refresh token saved")
3634

3735
else:

0 commit comments

Comments
 (0)