|  | @ -57,7 +57,7 @@ with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: | 
			
		
	
		
		
			
				
					|  |  |     for w in widthlist: |  |  |     for w in widthlist: | 
			
		
	
		
		
			
				
					|  |  |         if rnd: np.random.shuffle(heightlist) |  |  |         if rnd: np.random.shuffle(heightlist) | 
			
		
	
		
		
			
				
					|  |  |         for h in heightlist: |  |  |         for h in heightlist: | 
			
		
	
		
		
			
				
					
					|  |  |             color = '#%02x%02x%02x' % pixels[h-starth][w-startw] |  |  |             color = '#%02x%02x%02x' % pixels[h-starth][w-startw][0:3] | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |             to_send = "px {} {} {}\n".format(w,h,color) |  |  |             to_send = "px {} {} {}\n".format(w,h,color) | 
			
		
	
		
		
			
				
					|  |  |             sock.sendall(bytes(to_send, "utf-8")) |  |  |             sock.sendall(bytes(to_send, "utf-8")) | 
			
		
	
		
		
			
				
					|  |  |     sock.close() |  |  |     sock.close() | 
			
		
	
	
		
		
			
				
					|  | 
 |