mirror of
				https://github.com/robweber/xbmcbackup.git
				synced 2025-11-04 03:02:16 +01:00 
			
		
		
		
	try and encode filenames before writing to zip
This commit is contained in:
		@@ -94,7 +94,7 @@ class ZipFileSystem(Vfs):
 | 
				
			|||||||
        return False
 | 
					        return False
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    def put(self,source,dest):
 | 
					    def put(self,source,dest):
 | 
				
			||||||
        self.zip.write(source,dest,compress_type=zipfile.ZIP_DEFLATED)
 | 
					        self.zip.write(utils.encode(source),utils.encode(dest),compress_type=zipfile.ZIP_DEFLATED)
 | 
				
			||||||
        return True
 | 
					        return True
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    def rmdir(self,directory):
 | 
					    def rmdir(self,directory):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user