win32: path is even better now .gajim ==> Gajim
This commit is contained in:
		
							parent
							
								
									d2e0782121
								
							
						
					
					
						commit
						19235f6f68
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -27,10 +27,11 @@ _ = i18n._
 | 
			
		|||
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'
 | 
			
		||||
	except KeyError: # win9x, so use ~/.gajim/logs
 | 
			
		||||
		pass
 | 
			
		||||
		# Documents and Settings\[User Name]\Application Data\Gajim\logs
 | 
			
		||||
		LOGPATH = os.environ['appdata'] + '/Gajim/logs'
 | 
			
		||||
	except KeyError:
 | 
			
		||||
		# win9x, so use ~/gajim/logs which is WINDOWS\Application Data\Gajim\logs
 | 
			
		||||
		LOGPATH = os.path.expanduser('~/Gajim/logs')
 | 
			
		||||
 | 
			
		||||
class Logger:
 | 
			
		||||
	def __init__(self):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue