From 8a393e0b0391e2e2fbab49cefc177824432379c1 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 5 Apr 2022 19:07:38 +0530 Subject: [PATCH] Agent: Update comment in Timer --- monkey/infection_monkey/utils/timer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/infection_monkey/utils/timer.py b/monkey/infection_monkey/utils/timer.py index 2ed17d551..6095d466e 100644 --- a/monkey/infection_monkey/utils/timer.py +++ b/monkey/infection_monkey/utils/timer.py @@ -13,7 +13,8 @@ class Timer: def set(self, timeout_sec: float): """ Set a timer - :param float timeout_sec: A fractional number of seconds to set the timeout for. + :param float timeout_sec: A nonnegative floating point number expressing the number of + seconds to set the timeout for. """ self._timeout_sec = timeout_sec self._start_time = time.time()