Fix colors
This commit is contained in:
		
							parent
							
								
									df06ca94a3
								
							
						
					
					
						commit
						380930e8e7
					
				
							
								
								
									
										9
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								main.py
									
									
									
									
									
								
							| @ -16,10 +16,11 @@ def kbv(dict_, value): | |||||||
| class RequestHandler(BaseHTTPRequestHandler): | class RequestHandler(BaseHTTPRequestHandler): | ||||||
|     MATRIX_SIZE = (800, 1024) |     MATRIX_SIZE = (800, 1024) | ||||||
|     COLORS = { |     COLORS = { | ||||||
|         'w': (255, 255, 255), |         'white': (255, 255, 255), | ||||||
|         'b': (0, 0, 0), |         'blue': (0, 0, 255), | ||||||
|         'r': (255, 0, 0), |         'red': (255, 0, 0), | ||||||
|         'g': (0, 255, 0), |         'green': (0, 255, 0), | ||||||
|  |         'black': (0, 0, 0) | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     def do_GET(self): |     def do_GET(self): | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user