mirror of
https://github.com/chubin/wttr.in
synced 2025-01-12 03:58:45 +00:00
Add region into location formatting
This commit is contained in:
parent
f3bce5f806
commit
e1adca3bf0
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ def location_processing(location, ip_addr):
|
|||
if location:
|
||||
location = '~' + location
|
||||
if country:
|
||||
location += ", %s" % country
|
||||
location += ", %s, %s" % (region, country)
|
||||
hide_full_address = not force_show_full_address
|
||||
|
||||
if location and not location.startswith('~'):
|
||||
|
|
Loading…
Reference in a new issue