Commit 7db3225
Fix path expansion for Slack cookies on macOS
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.
Amp-Thread-ID: https://ampcode.com/threads/T-019b4b52-707f-722f-bc8a-fc9a7853390d
Co-authored-by: Amp <amp@ampcode.com>1 parent fe0d689 commit 7db3225
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments