mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-27 00:25:53 +03:00
[PR #952] Skip writing client config if it is not writable #1101
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#1101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/952
Author: @amarshall
Created: 2/23/2022
Status: 🔄 Open
Base:
master← Head:handle-readonly-client-config📝 Commits (1)
0bb19e4Skip writing client config if it is not writable📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
src/config.rs(+3 -2)📄 Description
In some cases, the config file may be read-only. Since it is not
imperative that it be written (everything continues to work, it just
will not remember this device ID after a restart), just skip writing.
Ideally static and dynamic configuration should be totally separated,
however that is more complicated to implement and this is a quick fix.
Partial workaround for https://github.com/Rigellute/spotify-tui/issues/579.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.