os.path.mkdir crashes under win9x if the folder already exists
This commit is contained in:
		
							parent
							
								
									111d7049c6
								
							
						
					
					
						commit
						667eb618b7
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -49,6 +49,7 @@ class Logger: | ||||||
| 			if dot_gajim: | 			if dot_gajim: | ||||||
| 				os.mkdir(dot_gajim) | 				os.mkdir(dot_gajim) | ||||||
| 				print 'creating', dot_gajim , 'directory' | 				print 'creating', dot_gajim , 'directory' | ||||||
|  | 			if not os.path.isdir(LOGPATH): | ||||||
| 				os.mkdir(LOGPATH) | 				os.mkdir(LOGPATH) | ||||||
| 				print 'creating', LOGPATH, 'directory' | 				print 'creating', LOGPATH, 'directory' | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue