summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardythe12014-02-18 12:29:36 +0530
committerhardythe12014-02-18 12:29:36 +0530
commit8e31d566ab19680ccb1e06da1611e43ffd46624b (patch)
tree1e086fa3615f4fa47a6dcd883c5f0ff9aadc2c44
parent5bce27f3c8d9408042edce760e77f413d839d822 (diff)
downloadPython-TBC-Interface-8e31d566ab19680ccb1e06da1611e43ffd46624b.tar.gz
Python-TBC-Interface-8e31d566ab19680ccb1e06da1611e43ffd46624b.tar.bz2
Python-TBC-Interface-8e31d566ab19680ccb1e06da1611e43ffd46624b.zip
changing to test the zip file
-rw-r--r--tbc/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py
index 3eed4a8..e7c3171 100644
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -330,7 +330,7 @@ def generateZip(book_id):
notebooks = Chapters.objects.filter(book=book)
for notebook in notebooks:
files_to_zip.append(file_path+str(notebook.notebook))
- zip_subdir = book.title.strip()
+ zip_subdir = "PythonTBC"
zipfile_name = "%s.zip" %zip_subdir
s = StringIO.StringIO()
zip_file = zipfile.ZipFile(s, 'w')