- commit
- e0f84901e1612a3fdbde63d017d1763c5cf83489
- parent
- 6afe0ed8ab070336b294ec71c48afc1617a0785a
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-09-17 20:03
forward 404 errors
Diffstat
| M | audiothek.py | 2 | ++ |
1 files changed, 2 insertions, 0 deletions
diff --git a/audiothek.py b/audiothek.py
@@ -79,6 +79,8 @@ async def feed(request): 79 79 80 80 async with aiohttp.ClientSession() as session: 81 81 async with session.get(url, params=params) as response: -1 82 if response.status == 404: -1 83 raise web.HTTPNotFound 82 84 response.raise_for_status() 83 85 data = await response.json() 84 86