fix: logger
This commit is contained in:
		@@ -52,7 +52,7 @@ def perform_ocr(screenshot: bytes) -> list[dict]:
 | 
			
		||||
            })
 | 
			
		||||
    
 | 
			
		||||
    # check if debug is enabled
 | 
			
		||||
    if logging.getLogger().isEnabledFor(logging.DEBUG):
 | 
			
		||||
    if logger.isEnabledFor(logging.DEBUG):
 | 
			
		||||
        # take screenshot + put blue circle with x, y on screenshot for each component
 | 
			
		||||
        screenshot_with_circles = Image.open(io.BytesIO(screenshot))
 | 
			
		||||
        draw = ImageDraw.Draw(screenshot_with_circles)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user