1
0
Fork 0
mirror of https://github.com/minoplhy/filters-maker synced 2023-12-14 08:32:52 +01:00

Fix Copyfile

This commit is contained in:
minoplhy 2021-08-21 23:43:24 +07:00
parent 45b5bb64ef
commit aa21ecf0b8

View file

@ -7,4 +7,7 @@ def filepath_mass_changer(Version ,path ,apapath):
for filename in f:
s = os.path.basename(filename)
os.rename(filename, os.path.join(path, Version + '_' + s ))
shutil.copytree(path, apapath)
f = glob.glob(os.path.join(path,"*.txt"))
for filename in f:
s = os.path.basename(filename)
shutil.copy2(os.path.join(path,s), apapath)