Browse Source

fixed indentation error in servers/pycl.py

Tom Morris 14 years ago
parent
commit
cef326ccc1
1 changed files with 7 additions and 7 deletions
  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