From 2c0467284670a2d468fae8f87007cd9938ebea9a Mon Sep 17 00:00:00 2001 From: IamEld3st Date: Tue, 7 Apr 2020 17:11:32 +0200 Subject: [PATCH] Update build.py --- build.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.py b/build.py index 5bbacc0..b457c9a 100644 --- a/build.py +++ b/build.py @@ -40,9 +40,6 @@ # Iterate over all the files in directory for folderName, subfolders, filenames in os.walk('./build/'): for filename in filenames: - # create complete filepath of file in directory - filePath = os.path.join(folderName, filename) - # Add file to zip - zipObj.write(filePath) + zipObj.write(filename) shutil.rmtree('./build/')