mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-28 03:46:06 -05:00 
			
		
		
		
	pycodestyle
This commit is contained in:
		| @@ -639,7 +639,10 @@ class BulkDownloadView(APIView): | ||||
|         content = serializer.validated_data.get('content') | ||||
|  | ||||
|         os.makedirs(settings.SCRATCH_DIR, exist_ok=True) | ||||
|         temp = tempfile.NamedTemporaryFile(dir=settings.SCRATCH_DIR, suffix="-compressed-archive", delete=False) | ||||
|         temp = tempfile.NamedTemporaryFile( | ||||
|             dir=settings.SCRATCH_DIR, | ||||
|             suffix="-compressed-archive", | ||||
|             delete=False) | ||||
|  | ||||
|         if content == 'both': | ||||
|             strategy_class = OriginalAndArchiveStrategy | ||||
|   | ||||
| @@ -300,4 +300,3 @@ def strip_excess_whitespace(text): | ||||
|  | ||||
|     # TODO: this needs a rework | ||||
|     return no_trailing_whitespace.strip() | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler