mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-04 01:37:27 +00:00
Small fix
This commit is contained in:
parent
a927b853ea
commit
dc87fb2ee5
1 changed files with 5 additions and 3 deletions
|
@ -15,6 +15,8 @@ if not os.path.exists(SAMPLE_PATH):
|
|||
os.makedirs(SAMPLE_PATH)
|
||||
|
||||
for path, files in instrument_targets.items():
|
||||
fileList = files if files[0] != "*" else os.listdir(path)
|
||||
for file in fileList:
|
||||
shutil.copyfile(os.path.join(path, file), os.path.join(SAMPLE_PATH, file))
|
||||
file_list = files if files[0] != "*" else os.listdir(path)
|
||||
for file in file_list:
|
||||
file_path = os.path.join(SAMPLE_PATH, file)
|
||||
if not os.path.exists(file_path):
|
||||
shutil.copyfile(os.path.join(path, file), file_path)
|
Loading…
Reference in a new issue