first letter is better to be cap for folders in Windows
This commit is contained in:
		
							parent
							
								
									715d3460f5
								
							
						
					
					
						commit
						8db7ec096a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -28,10 +28,10 @@ LOGPATH = os.path.expanduser('~/.gajim/logs')
 | 
			
		|||
if os.name == 'nt':
 | 
			
		||||
	try:
 | 
			
		||||
		# Documents and Settings\[User Name]\Application Data\Gajim\logs
 | 
			
		||||
		LOGPATH = os.environ['appdata'] + '/Gajim/logs'
 | 
			
		||||
		LOGPATH = os.environ['appdata'] + '/Gajim/Logs'
 | 
			
		||||
	except KeyError:
 | 
			
		||||
		# win9x, ./logs
 | 
			
		||||
		LOGPATH = 'logs'
 | 
			
		||||
		LOGPATH = 'Logs'
 | 
			
		||||
 | 
			
		||||
class Logger:
 | 
			
		||||
	def __init__(self):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue