Use double quotes

This commit is contained in:
XANTRONIX Industrial 2025-02-11 11:29:58 -05:00
parent beb789c19e
commit f46e0bef30

View file

@ -28,7 +28,7 @@ def parse(text: str):
match = RE_PARSE.match(text)
if match is None:
raise Exception('Invalid coordinates \'%s\'' % text)
raise Exception("Invalid coordinates '%s'" % text)
sign_lat = -1 if match[2] == 'S' else 1
sign_lon = 1 if match[4] == 'E' else -1