Merge pull request #734 from solidsnack/patch-1

Ensure `M` enables metric
This commit is contained in:
Igor Chubin 2022-06-06 12:12:43 +02:00 committed by GitHub
commit 527682736f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,7 @@ def parse_query(args):
if 'm' in q:
result['use_metric'] = True
if 'M' in q:
result['use_metric'] = True
result['use_ms_for_wind'] = True
if 'u' in q:
result['use_imperial'] = True