Fix hms command line use.

This commit is contained in:
voussoir 2022-01-11 19:39:55 -08:00
parent 8b4202fe87
commit 206e29d4bd
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -69,7 +69,7 @@ def main(args):
for line in lines:
if ':' in line:
line = hms_to_seconds(line)
if 's' in line:
elif 's' in line:
line = hms_letters_to_seconds(line)
else:
line = float(line)