From 86c830b6550ea53b5db714cf238626426bf85ad7 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 4 Mar 2018 15:27:09 +0100 Subject: [PATCH] Remove dead code Was supposed to become a api endpoint, but was merged into api.time_set in an earlier commit --- grzegorz/api.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/grzegorz/api.py b/grzegorz/api.py index 39be5e7..dfa0937 100644 --- a/grzegorz/api.py +++ b/grzegorz/api.py @@ -121,13 +121,6 @@ async def time_set(request, mpv_control): raise APIError("No query parameter \"pos\" or \"percent\"provided") return locals() -#@bp.get("/something") -@doc.summary("") -@response_json -async def noe(request, mpv_control): - value = await mpv_control.seek_percent(percent) - return locals() - @bp.get("/playlist") @doc.summary("Get the current playlist") @response_json