[PR #603] [MERGED] Small adjustment on sign_out function #956

Closed
opened 2026-02-28 00:02:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/603
Author: @migrmrz
Created: 11/7/2020
Status: Merged
Merged: 11/11/2020
Merged by: @stephanebruckert

Base: masterHead: patch-1


📝 Commits (3)

  • a1164f4 Small adjustment on sing_out function
  • a92ad6d Change description on app.py file
  • a92a4a1 Update app.py on line 79

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 CHANGELOG.md (+2 -1)
📝 examples/app.py (+1 -2)

📄 Description

First, thanks for this. It has been of great help. I was having trouble with this function, getting a TypeError (TypeError: can only concatenate str (not "NoneType") to str) because apparently the second os.remove(session_cache_path()) is trying to delete a file that does not exist anymore so this is what worked for me.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/603 **Author:** [@migrmrz](https://github.com/migrmrz) **Created:** 11/7/2020 **Status:** ✅ Merged **Merged:** 11/11/2020 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (3) - [`a1164f4`](https://github.com/spotipy-dev/spotipy/commit/a1164f445ecc7fc53bd5968de5c6cae2f0d1529c) Small adjustment on sing_out function - [`a92ad6d`](https://github.com/spotipy-dev/spotipy/commit/a92ad6d91c0d5deabacd652aa25738e755332e9a) Change description on app.py file - [`a92a4a1`](https://github.com/spotipy-dev/spotipy/commit/a92a4a12905f31a8d6b2bcc5470f8d70e092f507) Update app.py on line 79 ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -1) 📝 `examples/app.py` (+1 -2) </details> ### 📄 Description First, thanks for this. It has been of great help. I was having trouble with this function, getting a TypeError (TypeError: can only concatenate str (not "NoneType") to str) because apparently the second os.remove(session_cache_path()) is trying to delete a file that does not exist anymore so this is what worked for me. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:02:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#956
No description provided.