Skip to content

Commit 7577a97

Browse files
Update weather.py
1 parent 004b947 commit 7577a97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

weather application/weather.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def weather_report(self):
1212

1313
self.url = "http://api.openweathermap.org/data/2.5/weather?q="
1414
self.cityname = self.loc.get(1.0,END)
15-
self.api_key = '979d87e04f9d3a24d8806502c07a0ccf'
15+
self.api_key = 'paste your api key here'
1616
self.data = requests.get(self.url+self.cityname+'&appid='+self.api_key).json()
1717

1818

@@ -136,4 +136,4 @@ def __init__(self):
136136

137137
Weather()
138138

139-
139+

0 commit comments

Comments
 (0)