Commit 96f64cd
Fix path expansion in weekly summary audio streaming
FileResponse was receiving unexpanded path with ~ which caused
FileNotFoundError even though the file exists. Now using expand_path()
before passing to FileResponse.
Fixes: RuntimeError: File at path ~/.cache/audio-stream-server/weekly-summaries/2026-W07.mp3 does not exist
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6910019 commit 96f64cd
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | | - | |
67 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
72 | | - | |
| 77 | + | |
73 | 78 | | |
74 | | - | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
0 commit comments