also allow accessing floats

This commit is contained in:
wh1te909 2024-03-05 20:27:32 +00:00
parent 1ae4e23db1
commit 986160e667
1 changed files with 2 additions and 2 deletions

View File

@ -403,8 +403,8 @@ def replace_arg_db_values(
elif value is True or value is False:
return format_shell_bool(value, shell)
# for primary keys
elif isinstance(value, int):
# for primary keys and float fields (like boot_time)
elif isinstance(value, int) or isinstance(value, float):
return str(value)
elif isinstance(value, dict):