Skip to content

Commit

Permalink
Add 'DEFAULT_AUTH_TIMEOUT_S' constant
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Oct 7, 2019
1 parent 133063c commit a658d6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions androidtv/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,3 +294,6 @@
MUTED_REGEX_PATTERN = r"Muted: (.*?)\W"
STREAM_MUSIC_REGEX_PATTERN = "STREAM_MUSIC(.*?)- STREAM"
VOLUME_REGEX_PATTERN = r"\): (\d{1,})"

#: Default authentication timeout (in s) for :meth:`adb_shell.tcp_handle.TcpHandle.connect`
DEFAULT_AUTH_TIMEOUT_S = 0.1

0 comments on commit a658d6e

Please sign in to comment.