Skip to content

Commit

Permalink
[FIX] web_printscreen_zb: Fixed cookie issue
Browse files Browse the repository at this point in the history
Applying this patch that prevents printing PDF: zbeanz#7
  • Loading branch information
Alejandro Santana committed Dec 29, 2014
1 parent b910d93 commit bea05bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web_printscreen_zb/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@ def index(self, req, data, token):
headers=[('Content-Disposition',
'attachment; filename=PDF Export'),
('Content-Type', self.content_type)],
cookies={'fileToken': int(token)})
cookies={'fileToken': token})

# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

0 comments on commit bea05bb

Please sign in to comment.