We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3d755e + c6cb88a commit ad8acfeCopy full SHA for ad8acfe
src/tvwb.py
@@ -58,16 +58,17 @@ def print_gui_info():
58
gui_modes_url = 'https://github.com/robswc/tradingview-webhooks-bot/discussions/43'
59
print(f'To learn more about GUI modes, visit: {gui_modes_url}')
60
61
-
62
def run_server():
63
run(f'gunicorn --bind {host}:{port} wsgi:app'.split(' '))
64
65
# clear gui key if gui is set to open, else generate key
+ # Flask uses the existence of the key file to determine GUI mode
66
if open_gui:
67
clear_gui_key()
68
else:
69
generate_gui_key()
70
71
+ # print info regarding GUI and run the server
72
print_gui_info()
73
run_server()
74
0 commit comments