diff options
author | Trupti Rajesh Kini | 2016-06-01 12:21:27 +0530 |
---|---|---|
committer | Trupti Rajesh Kini | 2016-06-01 12:21:27 +0530 |
commit | 31ae0c5926bcc137271c01853739fa49d3d3feb7 (patch) | |
tree | 67ef604389ff7851c9afef4715515f0e8a912dbb /tbc | |
parent | e389af18339446072ce674b229191b33b4d6cf74 (diff) | |
download | Python-TBC-Interface-31ae0c5926bcc137271c01853739fa49d3d3feb7.tar.gz Python-TBC-Interface-31ae0c5926bcc137271c01853739fa49d3d3feb7.tar.bz2 Python-TBC-Interface-31ae0c5926bcc137271c01853739fa49d3d3feb7.zip |
changed function name of generate zip
Diffstat (limited to 'tbc')
-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 4a469c5..63de3f8 100644 --- a/tbc/views.py +++ b/tbc/views.py @@ -1007,7 +1007,7 @@ def generate_zip(book_id): def get_zip(request, book_id=None): user = request.user - s, zipfile_name = generateZip(book_id) + s, zipfile_name = generate_zip(book_id) resp = HttpResponse(s.getvalue(), mimetype = "application/x-zip-compressed") resp['Content-Disposition'] = 'attachment; filename=%s' % zipfile_name return resp |