From b574a28f1fe51dc4314eebd8e055f94264e1dad2 Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Thu, 28 Jan 2021 11:12:42 +0100 Subject: [PATCH] Tweak comments --- backend/fetch_site_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/fetch_site_status.py b/backend/fetch_site_status.py index 92922254..de765f8d 100644 --- a/backend/fetch_site_status.py +++ b/backend/fetch_site_status.py @@ -95,11 +95,11 @@ class perform_site_check(Thread): self.save_response_html_output(r.text) output_filepath = self.save_response_stripped_output(stripped_text_from_html) - # Update history with the stripped text for future reference + # Update history with the stripped text for future reference, this will also mean we save the first + # attempt because 'self.current_md5 != fetched_md5' (current_md5 will be None when not run) # need to learn more about attr/setters/getters history = self.datastore.get_val(self.uuid, 'history') history.update(dict([(self.timestamp, output_filepath)])) - self.datastore.update_watch(self.uuid, 'history', history)