mirror of
https://github.com/devine-dl/pywidevine.git
synced 2024-10-30 05:29:21 +00:00
Serve: Don't redefine built-in open
This commit is contained in:
parent
b0453b64ac
commit
deefb6fbe1
@ -54,7 +54,7 @@ async def ping(_) -> web.Response:
|
||||
|
||||
|
||||
@routes.get("/{device}/open")
|
||||
async def open(request: web.Request) -> web.Response:
|
||||
async def open_(request: web.Request) -> web.Response:
|
||||
secret_key = request.headers["X-Secret-Key"]
|
||||
device_name = request.match_info["device"]
|
||||
user = request.app["config"]["users"][secret_key]
|
||||
|
Loading…
Reference in New Issue
Block a user