mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Python 3 syntax fixes
This commit is contained in:
committed by
Ivan Grokhotkov
parent
8edeac0cf4
commit
7dca0727e1
@ -58,7 +58,7 @@ def setup_http_get(e):
|
||||
def flaskThread():
|
||||
p = os.path.dirname(os.path.abspath(__file__))
|
||||
context = (p + '/server.crt', p + '/server.key')
|
||||
print context
|
||||
print(context)
|
||||
app.run(host='0.0.0.0', port=8088, ssl_context=context)
|
||||
th = Thread(target=flaskThread)
|
||||
th.start()
|
||||
|
Reference in New Issue
Block a user