mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Merge pull request #533 from domphonallmen/patch-1
avoid error when decrypting files with non-ascii character
This commit is contained in:
		
						commit
						1245297939
					
				@ -75,7 +75,8 @@ class Command(BaseCommand):
 | 
			
		||||
 | 
			
		||||
        for document in encrypted_files:
 | 
			
		||||
 | 
			
		||||
            print(coloured("Decrypting {}".format(document), "green"))
 | 
			
		||||
            print(coloured("Decrypting {}".format(
 | 
			
		||||
                document).encode('utf-8'), "green"))
 | 
			
		||||
 | 
			
		||||
            old_paths = [document.source_path, document.thumbnail_path]
 | 
			
		||||
            raw_document = GnuPG.decrypted(document.source_file, passphrase)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user