BraydenMoore commited on
Commit
958d1c2
·
1 Parent(s): eb21d24

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -80,6 +80,7 @@ def proxy(url):
80
  except requests.exceptions.RequestException as e:
81
  session['exception_urls'].append(url)
82
  save_exception_urls(session['exception_urls'])
 
83
  logging.error(f"Error in proxy: {e}")
84
  return send_file('static/error.png', mimetype='image/png')
85
 
@@ -126,4 +127,4 @@ def index():
126
  Y=Y)
127
 
128
  if __name__ == '__main__':
129
- app.run(host='0.0.0.0', port='7860', debug=True)
 
80
  except requests.exceptions.RequestException as e:
81
  session['exception_urls'].append(url)
82
  save_exception_urls(session['exception_urls'])
83
+ print('Added to exceptions:',session['exception_urls'])
84
  logging.error(f"Error in proxy: {e}")
85
  return send_file('static/error.png', mimetype='image/png')
86
 
 
127
  Y=Y)
128
 
129
  if __name__ == '__main__':
130
+ app.run(host='0.0.0.0', port='7860')