mirror of
https://github.com/chubin/wttr.in
synced 2024-11-15 00:27:09 +00:00
added option ?M: use_ms_for_wind
This commit is contained in:
parent
1f234dc2a1
commit
2f5e67cccf
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ def parse_query(args):
|
|||
result['narrow'] = True
|
||||
if 'm' in q:
|
||||
result['use_metric'] = True
|
||||
if 'M' in q:
|
||||
result['use_ms_for_wind'] = True
|
||||
if 'u' in q:
|
||||
result['use_imperial'] = True
|
||||
if 'I' in q:
|
||||
|
|
Loading…
Reference in a new issue