We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e531a commit 80e0cd3Copy full SHA for 80e0cd3
internal/firefox.py
@@ -982,10 +982,7 @@ def process_command(self, command):
982
parts = command['target'].split(',')
983
lat = float(parts[0])
984
lng = float(parts[1])
985
- location_uri = 'data:application/json,{{'\
986
- '"status":"OK","accuracy":{2:d},'\
987
- '"location":{{"lat":{0:f},"lng":{1:f}}}'\
988
- '}}'.format(lat, lng, accuracy)
+ location_uri = _get_location_uri(accuracy, lat, lng)
989
logging.debug('Setting location: %s', location_uri)
990
self.set_pref('geo.wifi.uri', location_uri)
991
except Exception:
0 commit comments