From 206e29d4bd936b4e606eed9562b2e9447ca18c49 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 11 Jan 2022 19:39:55 -0800 Subject: [PATCH] Fix hms command line use. --- voussoirkit/hms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoirkit/hms.py b/voussoirkit/hms.py index eff91a0..7011c0f 100644 --- a/voussoirkit/hms.py +++ b/voussoirkit/hms.py @@ -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)