diff options
-rw-r--r-- | tbc/views.py | 2 |
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') |