forked from TrueCloudLab/frostfs-testlib
fix
This commit is contained in:
parent
ee1f3ab0c1
commit
9f2c8adfb5
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ from typing import Any, Callable, Optional, get_args
|
||||||
from frostfs_testlib.utils.converting_utils import calc_unit
|
from frostfs_testlib.utils.converting_utils import calc_unit
|
||||||
|
|
||||||
|
|
||||||
def convert_time_to_seconds(time: int | str) -> int:
|
def convert_time_to_seconds(time: int | str | None) -> int:
|
||||||
if time is None:
|
if time is None:
|
||||||
return None
|
return None
|
||||||
if str(time).isdigit():
|
if str(time).isdigit():
|
||||||
|
|
Loading…
Add table
Reference in a new issue