Update zipfiles.py to include author folder

This commit is contained in:
Chev 2021-04-18 17:55:10 -07:00
parent 222ac275a1
commit 793646dfe4

View file

@ -4,7 +4,7 @@ import zipfile
def zipfiles(z_obj, dir):
for root, dirs, files in os.walk(dir):
for file in files:
file_loc = file if not file.endswith('.dll') else f'plugins/{file}'
file_loc = file if not file.endswith('.dll') else f'plugins/Chev/{file}'
z_obj.write(os.path.join(root, file), arcname=file_loc)
for folder in next(os.walk('.'))[1]: