Use double quotes
This commit is contained in:
parent
beb789c19e
commit
f46e0bef30
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ def parse(text: str):
|
||||||
match = RE_PARSE.match(text)
|
match = RE_PARSE.match(text)
|
||||||
|
|
||||||
if match is None:
|
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_lat = -1 if match[2] == 'S' else 1
|
||||||
sign_lon = 1 if match[4] == 'E' else -1
|
sign_lon = 1 if match[4] == 'E' else -1
|
||||||
|
|
Loading…
Add table
Reference in a new issue