You've already forked PythonLib
mirror of
https://github.com/lifebottle/PythonLib.git
synced 2026-02-13 15:25:50 -08:00
Updating steps of TOR to remove files inside DAT but keeping folders
This commit is contained in:
@@ -413,7 +413,10 @@ class ToolsTOR(ToolsTales):
|
||||
def extract_Main_Archive(self):
|
||||
|
||||
#Create folder and delete everything isinde
|
||||
shutil.rmtree("../Data/Tales-Of-Rebirth/DAT")
|
||||
#shutil.rmtree("../Data/Tales-Of-Rebirth/DAT")
|
||||
for file in os.scandir("../Data/Tales-Of-Rebirth/DAT"):
|
||||
os.remove(file.path)
|
||||
|
||||
self.mkdir("../Data/Tales-Of-Rebirth/DAT")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user