Use unicode path for plugins
non-unicode path is marked as deprecated
This commit is contained in:
		
							parent
							
								
									b5c98864ad
								
							
						
					
					
						commit
						840cb365e8
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -202,8 +202,8 @@ class GajimPluginConfig():
 | 
			
		|||
    @log_calls('GajimPluginConfig')
 | 
			
		||||
    def __init__(self, plugin):
 | 
			
		||||
        self.plugin = plugin
 | 
			
		||||
        self.FILE_PATH = os.path.join(gajim.PLUGINS_CONFIG_DIR,
 | 
			
		||||
            self.plugin.short_name).encode(locale.getpreferredencoding())
 | 
			
		||||
        self.FILE_PATH = os.path.join(
 | 
			
		||||
            gajim.PLUGINS_CONFIG_DIR, self.plugin.short_name)
 | 
			
		||||
        self.data = {}
 | 
			
		||||
 | 
			
		||||
    @log_calls('GajimPluginConfig')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue