Commit 9b067429bff645a91741ac6bdb4129858b257dd5
1 parent
0ecaceb6
Exists in
master
barrabrasil.py: retirado dependencia de webbrowser e chamada para executar o browser
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/barrabrasil.py
1 | 1 | from flask import Flask, url_for, render_template, request, Response, make_response |
2 | -import hashlib,webbrowser | |
2 | +import hashlib#,webbrowser | |
3 | 3 | |
4 | 4 | # Criar Key e certificado |
5 | 5 | # openssl genrsa 1024 > ssl.key |
... | ... | @@ -44,7 +44,7 @@ if __name__ == '__main__': |
44 | 44 | profile = argv[1] |
45 | 45 | else: |
46 | 46 | profile = 'default' |
47 | - webbrowser.open("http://127.0.0.1:5000/",new=2) | |
47 | + #webbrowser.open("http://127.0.0.1:5000/",new=2) | |
48 | 48 | app.run(debug=False) |
49 | 49 | #webbrowser.open("https://127.0.0.1:5000/",new=2) |
50 | 50 | #app.run(debug=False,ssl_context=ctx) | ... | ... |