mirror of
				https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
				synced 2025-10-26 18:05:28 +03:00 
			
		
		
		
	marked regex with 'r'
This commit is contained in:
		
							parent
							
								
									1daa365df9
								
							
						
					
					
						commit
						1b6f142cb5
					
				| @ -11,7 +11,7 @@ logger = logging.getLogger(__name__) | ||||
| class PatchMalformedJsonMiddleware(BaseHTTPMiddleware): | ||||
|     # see oscar.krause/fastapi-dls#1 | ||||
| 
 | ||||
|     REGEX = '(\"mac_address_list\"\:\s?\[)([\w\d])' | ||||
|     REGEX = r'(\"mac_address_list\"\:\s?\[)([\w\d])' | ||||
| 
 | ||||
|     def __init__(self, app, enabled: bool): | ||||
|         super().__init__(app) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Oscar Krause
						Oscar Krause