old_contents: import requests
  import json
  from colorama import Fore
  from plugin import plugin, require
  
  @require(network=True)
  @plugin('location')
  def location(jarvis, s):
      """It gives you your current location"""
      send_url = "http://api.ipstack.com/check?access_key=aafa3f03dc42cd4913a79fd2d9ce514d"
      geo_req = requests.get(send_url)
      geo_json = json.loads(geo_req.text)
      latitude = geo_json['latitude']
      latitude = str(latitude)
      longitude = geo_json['longitude']
      longitude = str(longitude)
      city = geo_json['city']
      continent_name = geo_json['continent_name']
      country_name = geo_json['country_name']
      pin = geo_json['zip']
      pin = str(pin)
      jarvis.say(' is your latitude', latitude)
      jarvis.say(' is your longitude', longitude)
      jarvis.say(' is your city', city)
      jarvis.say(' is your country', country_name)
      jarvis.say(' is your continent', continent_name)
      jarvis.say(' is your pin code', pin)
  
new_contents: import requests
  import json
  from colorama import Fore
  from plugin import plugin, require
  
  
  @require(network=True)
  @plugin('location')
  def location(jarvis, s):
      """It gives you your current location"""
      send_url = "http://api.ipstack.com/check?access_key=aafa3f03dc42cd4913a79fd2d9ce514d"
      geo_req = requests.get(send_url)
      geo_json = json.loads(geo_req.text)
      latitude = geo_json['latitude']
      latitude = str(latitude)
      longitude = geo_json['longitude']
      longitude = str(longitude)
      city = geo_json['city']
      continent_name = geo_json['continent_name']
      country_name = geo_json['country_name']
      pin = geo_json['zip']
      pin = str(pin)
      jarvis.say(' is your latitude', latitude)
      jarvis.say(' is your longitude', longitude)
      jarvis.say(' is your city', city)
      jarvis.say(' is your country', country_name)
      jarvis.say(' is your continent', continent_name)
      jarvis.say(' is your pin code', pin)
  
subject: Update location.py (#586)