Monitoring a real-time data stream with a flask web-app Monitoring a real-time data stream with a flask web-app multithreading multithreading

Monitoring a real-time data stream with a flask web-app


I just needed to change this line

t = threading.Thread(target=stream.monitor())

to this:

t = threading.Thread(target=stream.monitor)