summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardythe12015-04-07 16:28:55 +0530
committerhardythe12015-04-07 16:28:55 +0530
commit2f4915d0b2468da78fab2e31fe7ed7b8fcf7c000 (patch)
tree85ba7a5d2e5894e2c266e04a537816d5dabf2306
parent405a2dddc2fe0a7d1b1c7e3165bee5aae6d49522 (diff)
downloadPython-TBC-Interface-2f4915d0b2468da78fab2e31fe7ed7b8fcf7c000.tar.gz
Python-TBC-Interface-2f4915d0b2468da78fab2e31fe7ed7b8fcf7c000.tar.bz2
Python-TBC-Interface-2f4915d0b2468da78fab2e31fe7ed7b8fcf7c000.zip
changed path for zip generation
-rwxr-xr-xtbc/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py
index bf272ea..9a451e4 100755
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -942,7 +942,7 @@ def generateZip(book_id):
book = Book.objects.get(id=book_id)
files_to_zip = []
file_path = os.path.abspath(os.path.dirname(__file__))
- file_path = file_path+"/static/uploads/"
+ file_path = file_path+"/static/Python-Textbook-Companions/"
notebooks = Chapters.objects.filter(book=book)
for notebook in notebooks:
files_to_zip.append(file_path+str(notebook.notebook))