From fca29dbb74a6efa39b204693e141690d9f447409 Mon Sep 17 00:00:00 2001 From: Alana E <152808303+NU11Payload@users.noreply.github.com> Date: Sun, 23 Mar 2025 00:54:22 -0700 Subject: [PATCH] Security audit - Dev Secret Exposed Please Revoke your secrets --- weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weather.py b/weather.py index 7615288..b01ef1c 100644 --- a/weather.py +++ b/weather.py @@ -8,7 +8,7 @@ exit(1) zipcode=sys.argv[1] -url='http://api.openweathermap.org/data/2.5/weather?zip='+zipcode+'&units=imperial&APPID=81bf6ab8b40197439ba85fbc537fbaac' +url='http://api.openweathermap.org/data/2.5/weather?zip='+zipcode+'&units=imperial&APPID=' res=urllib.urlopen(url) data=json.loads(res.read()) -print("\nIt's now %sF with %s in %s" % (data['main']['temp'],data['weather'][0]['description'],data['name'])) \ No newline at end of file +print("\nIt's now %sF with %s in %s" % (data['main']['temp'],data['weather'][0]['description'],data['name']))