Skip to content

Fix path expansion for Slack cookies on macOS#82

Open
gmile wants to merge 1 commit inton8henrie:masterfrom
gmile:fix-slack-keychain-lookup
Open

Fix path expansion for Slack cookies on macOS#82
gmile wants to merge 1 commit inton8henrie:masterfrom
gmile:fix-slack-keychain-lookup

Conversation

@gmile
Copy link

@gmile gmile commented Dec 23, 2025

No description provided.

@gmile gmile force-pushed the fix-slack-keychain-lookup branch 3 times, most recently from 3b883ee to 7db3225 Compare December 23, 2025 13:16
Problem: Cookie file path contains unexpanded ~ tilde, causing 'unable to open database file' error when trying to access Slack cookies. String-based path operations don't handle ~ expansion.

Fix: Use Path.home() from pathlib stdlib (https://docs.python.org/3/library/pathlib.html#pathlib.Path.home) which properly expands to the user's home directory.

Co-authored-by: Amp <amp@ampcode.com>
@gmile gmile force-pushed the fix-slack-keychain-lookup branch from 7db3225 to e7c08ef Compare December 23, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant