Skip to content

Commit

Permalink
Fix accidental recursion (#4843)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbirk authored Sep 19, 2024
1 parent a0f3459 commit 4e6229a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taskrunner/taskrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def read_input() -> bytes:
raise TimeoutError("Reading from input pipe timed out")

def read_input_str_with_timeout(self, timeout_seconds: int = 30) -> str:
return self.read_input_str_with_timeout(timeout_seconds).decode("utf-8")
return self.read_input_bytes_with_timeout(timeout_seconds).decode("utf-8")

def read_input_dict_with_timeout(self, timeout_seconds: int = 30) -> dict:
return json.loads(self.read_input_str_with_timeout(timeout_seconds))
Expand Down

0 comments on commit 4e6229a

Please sign in to comment.