Merge lp://staging/~ralsina/ubuntu-rest-scopes/short-digits-vulgarian into lp://staging/ubuntu-rest-scopes
Proposed by
Roberto Alsina
Status: | Merged |
---|---|
Approved by: | Roberto Alsina |
Approved revision: | 508 |
Merged at revision: | 507 |
Proposed branch: | lp://staging/~ralsina/ubuntu-rest-scopes/short-digits-vulgarian |
Merge into: | lp://staging/ubuntu-rest-scopes |
Diff against target: |
25 lines (+3/-2) 2 files modified
src/scopes/tests/test_weatherchannel.py (+1/-1) src/scopes/weatherchannel.py (+2/-1) |
To merge this branch: | bzr merge lp://staging/~ralsina/ubuntu-rest-scopes/short-digits-vulgarian |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email: mp+288311@code.staging.launchpad.net |
Commit message
Limit lat/long to 2 decimals in search_location to avoid TWC API error.
Description of the change
So, TWC doesn't like too many decimals on the location query. Oops, I guess.
Limiting to 2 decimals, which gives a precision of ~15 meters on each direction, so it should be enough to know on which city you are in most cases.
To post a comment you must log in.
+1, short and sweet.