fixed error in logger causing rpi to think logging server is down

This commit is contained in:
Joel 2021-01-26 21:18:32 +01:00
parent 4d699181c3
commit e02b42060b
No known key found for this signature in database
GPG key ID: BDDDBECD0808290E
3 changed files with 9 additions and 6 deletions

View file

@ -67,7 +67,8 @@ class __Streaming:
:return: None
"""
with self.__lock:
self.__newest_frame = image.copy()
if image is not None:
self.__newest_frame = image.copy()
def _newest_frame_generator(self):
"""