AttributeError: 'NoneType' object has no attribute 'sock'
2018-08-01 07:00:23.891476 UTC
File "/home/smokey/SmokeDetector/excepthook.py", line 54, in run_with_except_hook
run_old(*args, **kw)
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/smokey/SmokeDetector/flovis.py", line 51, in run
if self.ws.sock:
AttributeError: 'NoneType' object has no attribute 'sock'
2018-08-01 07:00:41.308522 UTC
File "/home/smokey/SmokeDetector/excepthook.py", line 54, in run_with_except_hook