valid json
This commit is contained in:
		
					parent
					
						
							
								4fcf956bca
							
						
					
				
			
			
				commit
				
					
						df0c6f5759
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								main.py
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -53,7 +53,7 @@ class WWMBotForwarder(BaseHTTPRequestHandler):
 | 
			
		|||
        self.send_response(200 if status == 'OK' else 401)
 | 
			
		||||
        self.send_header('Content-Type', 'application/json')
 | 
			
		||||
        self.end_headers()
 | 
			
		||||
        self.wfile.write(b"{'status': %a}" % status)
 | 
			
		||||
        self.wfile.write(b'{"status": "%a"}' % status)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue