Marthee commited on
Commit
bbab3a1
·
verified ·
1 Parent(s): 4341292

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -58,11 +58,6 @@ def download_pdf():
58
  # Get PDF link and keyword from finddata()
59
  encoded_pdf_link = finddata()
60
 
61
- if not pdfLink :
62
- return jsonify({"error": "'pdfLink' must be provided."}), 400
63
-
64
- try:
65
- print(encoded_pdf_link)
66
  if not encoded_pdf_link:
67
  return "Missing pdfLink parameter.", 400
68
 
 
58
  # Get PDF link and keyword from finddata()
59
  encoded_pdf_link = finddata()
60
 
 
 
 
 
 
61
  if not encoded_pdf_link:
62
  return "Missing pdfLink parameter.", 400
63