Fix hms command line use.
This commit is contained in:
parent
8b4202fe87
commit
206e29d4bd
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def main(args):
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if ':' in line:
|
if ':' in line:
|
||||||
line = hms_to_seconds(line)
|
line = hms_to_seconds(line)
|
||||||
if 's' in line:
|
elif 's' in line:
|
||||||
line = hms_letters_to_seconds(line)
|
line = hms_letters_to_seconds(line)
|
||||||
else:
|
else:
|
||||||
line = float(line)
|
line = float(line)
|
||||||
|
|
Loading…
Reference in a new issue