fix traceback when we don't use a profile
This commit is contained in:
		
							parent
							
								
									6a2d835eab
								
							
						
					
					
						commit
						25961e0e68
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -144,7 +144,8 @@ def parseOpts():
 | 
			
		|||
 | 
			
		||||
import locale
 | 
			
		||||
profile, config_path = parseOpts()
 | 
			
		||||
config_path = unicode(config_path, locale.getpreferredencoding())
 | 
			
		||||
if config_path:
 | 
			
		||||
    config_path = unicode(config_path, locale.getpreferredencoding())
 | 
			
		||||
del parseOpts
 | 
			
		||||
 | 
			
		||||
profile = unicode(profile, locale.getpreferredencoding())
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue