From a18755ab631fa43ba53d46af715663fd9e49b723 Mon Sep 17 00:00:00 2001 From: Iheanyi Ekechukwu Date: Tue, 30 Apr 2013 03:10:10 -0400 Subject: [PATCH] Zip commented out for now, add flag for zipping up files later. --- bandcamp-dl.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bandcamp-dl.py b/bandcamp-dl.py index 081a175..b1368d2 100644 --- a/bandcamp-dl.py +++ b/bandcamp-dl.py @@ -156,11 +156,11 @@ def parse_file(url): - if(len(tracks) > 1): - if not os.path.isfile("files/zips/" + albumTitle.replace(" ", "") + ".zip"): - make_archive("files/zips/" + albumTitle.replace(" ", ""), 'zip', albumPath) - else: - print "Already have a zipfile of this junts, serve that up!" + # if(len(tracks) > 1): + # if not os.path.isfile("files/zips/" + albumTitle.replace(" ", "") + ".zip"): + # make_archive("files/zips/" + albumTitle.replace(" ", ""), 'zip', albumPath) + # else: + # print "Already have a zipfile of this junts, serve that up!" #zip = zipfile.ZipFile("files/zips/" + albumTitle.replace(" ", "") + ".zip", 'w') #zipdir(albumPath + "/", zip) #zip.close