Open Lr5 opened 11 years ago
This was totally my bad. See lines 47 and 57:
47: my $o_state = $decoded_json->{'location'}->{'state'}; 57: if( $o_tz eq '', $o_city eq '', $o_state eq '' ) {
As we can see with Paris, France and Espoo, Finland there is no state populated:
"country_name":"France", "state":"", "city":"Paris",
"country_name":"Finland", "state":"", "city":"Espoo",
Fix is forthcoming. :)
Another commit via pastebin :dancer:
The command !w currently seems to work only for US locations. For example, the following commands don't work:
!w Paris, France !w Espoo, Finland !w Espoo