1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 10:08:11 +00:00

build-make : solved conflict

This commit is contained in:
minoplhy 2021-11-15 08:55:20 +07:00
commit e4e6201a2f
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

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