Sfoglia il codice sorgente

fixed indentation error in servers/pycl.py

Tom Morris 14 anni fa
parent
commit
cef326ccc1
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 7 7
      pycl.py

+ 7 - 7
pycl.py

@@ -36,13 +36,13 @@ class Handler(BaseHTTPRequestHandler):
 	global temp_has_delete
 
 	def do_GET(self):
-	if self.path == '/status':
-		self.send_response(200)
-		self.send_header('Content-Type', 'text/plain; charset=utf-8')
-		self.end_headers()
-		self.wfile.write('edit-server is running.\n')
-		return
-	self.send_error(404, "GET Not Found: %s" % self.path)
+		if self.path == '/status':
+		  self.send_response(200)
+		  self.send_header('Content-Type', 'text/plain; charset=utf-8')
+		  self.end_headers()
+		  self.wfile.write('edit-server is running.\n')
+		  return
+	  self.send_error(404, "GET Not Found: %s" % self.path)
 
 	def do_POST(self):
 		global processes