From e277505a4672fc8d8c1995a43dbd6f0b61315af6 Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Sun, 26 Nov 2023 12:08:53 +0100 Subject: [PATCH] Default timeout to None --- rcon/source/async_rcon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcon/source/async_rcon.py b/rcon/source/async_rcon.py index 160356c..4c54c90 100644 --- a/rcon/source/async_rcon.py +++ b/rcon/source/async_rcon.py @@ -51,7 +51,7 @@ async def rcon( encoding: str = "utf-8", frag_threshold: int = 4096, frag_detect_cmd: str = "", - timeout: int | None, + timeout: int | None = None, ) -> str: """Run a command asynchronously."""