mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	fix bug with DPI calculation
This commit is contained in:
		| @@ -70,7 +70,7 @@ class RasterisedDocumentParser(DocumentParser): | ||||
|         try: | ||||
|             with Image.open(image) as im: | ||||
|                 x, y = im.info['dpi'] | ||||
|                 return x | ||||
|                 return round(x) | ||||
|         except Exception as e: | ||||
|             self.log( | ||||
|                 'warning', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler