BraydenMoore commited on
Commit
d243a62
1 Parent(s): 0e2f27f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -29,7 +29,7 @@ def latlon_to_pixel(loc):
29
 
30
  @app.route('/video/<path:url>')
31
  def video(url):
32
- req = request.get('https://' + url, timeout=10)
33
 
34
  def generate():
35
  for chunk in req.iter_content(chunk_size=1024):
 
29
 
30
  @app.route('/video/<path:url>')
31
  def video(url):
32
+ req = requests.get('https://' + url, timeout=10)
33
 
34
  def generate():
35
  for chunk in req.iter_content(chunk_size=1024):