mirror of
https://github.com/chubin/wttr.in.git
synced 2024-10-05 01:42:07 +02:00
Merge pull request #734 from solidsnack/patch-1
Ensure `M` enables metric
This commit is contained in:
commit
527682736f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user