Browse Source

tld fixed

klaute 7 months ago
parent
commit
600e5a7fbe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      oko-weather/oko-weather-sync.py

+ 1
- 1
oko-weather/oko-weather-sync.py View File

@@ -44,7 +44,7 @@ def send_data_to_openweather(temp, hum, wind, pres, date):
44 44
 
45 45
     # http://api.openweathermap.org/data/3.0/stations?appid=
46 46
     http.client.HTTPSConnection.debuglevel = 1
47
-    conn = http.client.HTTPSConnection("api.openweathermap.com")
47
+    conn = http.client.HTTPSConnection("api.openweathermap.org")
48 48
 
49 49
     logging.basicConfig()
50 50
     logging.getLogger().setLevel(logging.DEBUG)

Loading…
Cancel
Save