diff --git a/anonstream/routes/core.py b/anonstream/routes/core.py index fb9630a..bebd50a 100644 --- a/anonstream/routes/core.py +++ b/anonstream/routes/core.py @@ -47,7 +47,7 @@ async def stream(timestamp, user): raise NotFound('The stream is offline.') else: try: - eyes_id = create_eyes(user, dict(request.headers)) + eyes_id = create_eyes(user, tuple(request.headers)) except RatelimitedEyes as e: retry_after, *_ = e.args error = TooManyRequests(