sigyllly commited on
Commit
7583601
·
verified ·
1 Parent(s): 87c9df9

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -3,7 +3,7 @@ import subprocess
3
  import random
4
  import string
5
  from datetime import datetime
6
- from flask import jsonify, send_file, current_app
7
  import shutil
8
  import tempfile
9
  import requests
@@ -285,7 +285,7 @@ def process_request(request):
285
  as_attachment=True,
286
  download_name=os.path.basename(archive_path),
287
  mimetype='application/octet-stream'
288
- )
289
  response.headers['X-Password'] = password
290
  return response
291
 
 
3
  import random
4
  import string
5
  from datetime import datetime
6
+ from flask import request, jsonify, current_app, make_response, send_file
7
  import shutil
8
  import tempfile
9
  import requests
 
285
  as_attachment=True,
286
  download_name=os.path.basename(archive_path),
287
  mimetype='application/octet-stream'
288
+ ))
289
  response.headers['X-Password'] = password
290
  return response
291