diff --git a/dht11.py b/dht11.py index 57962c5..d5115b9 100644 --- a/dht11.py +++ b/dht11.py @@ -29,7 +29,7 @@ def check_data(): GPIO.output(FAN_PIN, GPIO.LOW) class handler_class(http.server.BaseHTTPRequestHandler): - def do_WEB (self): + def do_GET (self): if self.path == '/': self.send_response(200) self.send_header('Content-type', 'text/html; charset=utf-8')