№
This commit is contained in:
		
							
								
								
									
										6
									
								
								hlna.py
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								hlna.py
									
									
									
									
									
								
							| @@ -382,9 +382,9 @@ def modextract(id_mod, id_game_workshop): | ||||
|         for dname in dirnames: | ||||
|             os.makedirs(os.path.join(modextractdir, os.path.relpath(os.path.join(dirpath, dname), mod_steam_workshop)), exist_ok=True) | ||||
|  | ||||
|         for fname in filenames: | ||||
|             if not os.path.isfile(os.path.join(mod_steam_workshop, fname)) and not os.path.isfile(os.path.join(mod_steam_workshop, fname + ".z")): | ||||
|                 os.unlink(os.path.join(modextractdir, fname)) | ||||
|         # for fname in filenames: | ||||
|         #     if not os.path.isfile(os.path.join(mod_steam_workshop, fname)) and not os.path.isfile(os.path.join(mod_steam_workshop, fname + ".z")): | ||||
|         #         os.unlink(os.path.join(modextractdir, fname)) | ||||
|  | ||||
|         for dname in dirnames: | ||||
|             if not os.path.isdir(os.path.join(mod_steam_workshop, dname)): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user