diff --git a/changedetectionio/update_worker.py b/changedetectionio/update_worker.py index 600cd232..a943b2cd 100644 --- a/changedetectionio/update_worker.py +++ b/changedetectionio/update_worker.py @@ -142,7 +142,7 @@ class update_worker(threading.Thread): self.datastore.update_watch(uuid=uuid, update_obj={'fetch_time': round(time.time() - now, 3), 'last_checked': round(time.time())}) # Always save the screenshot if it's available - if screenshot: + if screenshot is not None: self.datastore.save_screenshot(watch_uuid=uuid, screenshot=screenshot) self.current_uuid = None # Done