mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
Fix stupid mistake
This commit is contained in:
parent
2a86e252a2
commit
823f1895d0
@ -29,11 +29,11 @@ warnings.filterwarnings("ignore")
|
||||
|
||||
arch = sys.argv[1]
|
||||
|
||||
if not os.path.exists(Path.cwd().parent / sys.argv[2] / "wsa"):
|
||||
os.makedirs(Path.cwd().parent / sys.argv[2] / "wsa")
|
||||
zip_name = ""
|
||||
wsa_zip_path= Path(sys.argv[2]).resolve()
|
||||
workdir = Path.cwd().parent / sys.argv[3] / "wsa"
|
||||
if not os.path.exists(workdir):
|
||||
os.makedirs(workdir)
|
||||
with zipfile.ZipFile(wsa_zip_path) as zip:
|
||||
for f in zip.filelist:
|
||||
if arch in f.filename.lower():
|
||||
|
Loading…
Reference in New Issue
Block a user