From 1f53e2d25f1f4cd76bd2d1e4e8e0d348d2a6a386 Mon Sep 17 00:00:00 2001 From: Jeff Irion Date: Sun, 7 Feb 2021 12:07:33 -0800 Subject: [PATCH] Update androidtv/constants.py Co-authored-by: Martijn Dijkhuizen <1850135+martomo@users.noreply.github.com> --- androidtv/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/androidtv/constants.py b/androidtv/constants.py index cfa26a6f..e2b0d0ce 100644 --- a/androidtv/constants.py +++ b/androidtv/constants.py @@ -28,7 +28,7 @@ #: Determine whether the device is awake CMD_AWAKE = "dumpsys power | grep mWakefulness | grep -q Awake" -#: Parse the current app from the dumpsys outputand store it in the variable ``CURRENT_APP`` +#: Parse the current app from the dumpsys output and store it in the variable ``CURRENT_APP`` CMD_PARSE_CURRENT_APP = 'CURRENT_APP=${CURRENT_APP#*ActivityRecord{* * } CURRENT_APP=${CURRENT_APP#*{* * } && CURRENT_APP=${CURRENT_APP%%/*} && CURRENT_APP=${CURRENT_APP%\\}*}' #: Get the current app (but don't echo it)