调整24h开机时长为0的问题;去掉x偏差角度的控制

This commit is contained in:
mgw
2024-10-10 11:36:18 +08:00
parent 3f0fda7aac
commit d0f5aca707
3 changed files with 36 additions and 19 deletions

View File

@@ -24,6 +24,8 @@ def convert_to_seconds(time_str):
if time_str is None:
return 0
if time_str == 0:
return 0
pattern = r"(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?"