Fixed zipfile generator
This commit is contained in:
parent
ea04cf2eb1
commit
ff8c8ac22b
@ -6,10 +6,7 @@ import sys
|
||||
def create_archive():
|
||||
os.chdir("..\\src")
|
||||
print("Creating zip archive...")
|
||||
if sys.version[0] == "3":
|
||||
folder = "dist/main"
|
||||
else:
|
||||
folder = "dist"
|
||||
folder = "dist"
|
||||
shutil.make_archive("music_dl", "zip", folder)
|
||||
# if os.path.exists("dist"):
|
||||
# shutil.rmtree("dist")
|
||||
|
Loading…
Reference in New Issue
Block a user