| 
				
			 | 
			
			
				@@ -58,7 +58,7 @@ def ensure_dir_exist(dir_path, clear_dir: bool=False) -> None: 
			 | 
		
	
		
			
			| 
				58
			 | 
			
				58
			 | 
			
			
				     :param clear_dir: Remove content of given dir 
			 | 
		
	
		
			
			| 
				59
			 | 
			
				59
			 | 
			
			
				     """ 
			 | 
		
	
		
			
			| 
				60
			 | 
			
				60
			 | 
			
			
				     path_ = Path(dir_path) 
			 | 
		
	
		
			
			| 
				61
			 | 
			
				
			 | 
			
			
				-    path_.mkdir(parents=True) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				61
			 | 
			
			
				+    path_.mkdir(parents=False, exist_ok=True) 
			 | 
		
	
		
			
			| 
				62
			 | 
			
				62
			 | 
			
			
				     if clear_dir: 
			 | 
		
	
		
			
			| 
				63
			 | 
			
				63
			 | 
			
			
				         shutil.rmtree(dir_path) 
			 | 
		
	
		
			
			| 
				64
			 | 
			
				
			 | 
			
			
				-        path_.mkdir(parents=True) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				64
			 | 
			
			
				+        path_.mkdir(parents=False, exist_ok=True) 
			 |