Skip to content

Commit c82f09e

Browse files
committed
Fix time format
1 parent 5b4cb04 commit c82f09e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def shutdown(event):
123123
error_mapping = self._fails
124124
if error_mapping >= len(ERROR_ITERVAL_MAPPING):
125125
error_mapping = len(ERROR_ITERVAL_MAPPING) - 1
126-
sleep_time = timedelta(seconds=ERROR_ITERVAL_MAPPING[error_mapping])
126+
sleep_time = ERROR_ITERVAL_MAPPING[error_mapping]
127127
_LOGGER.debug(
128128
"Sleeping for fail #%s, in %s seconds", self._fails, sleep_time
129129
)

0 commit comments

Comments
 (0)