LuisBlanche commited on
Commit
3d681ef
1 Parent(s): 54e6ce8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -157,6 +157,8 @@ class PDFPoster:
157
  vote_text,
158
  ]
159
  document.build(elements)
 
 
160
  buffer.seek(0)
161
  pdf_data = buffer.read()
162
  buffer.close()
 
157
  vote_text,
158
  ]
159
  document.build(elements)
160
+ buffer = BytesIO()
161
+
162
  buffer.seek(0)
163
  pdf_data = buffer.read()
164
  buffer.close()