Add [diff] mechanism

This commit is contained in:
Leigh Morresi
2021-01-31 19:55:35 +01:00
parent 43c7ccb3fe
commit 81534d9367
10 changed files with 1256 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ class perform_site_check(Thread):
# 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)]))
history.update(dict([(str(self.timestamp), output_filepath)]))
self.datastore.update_watch(self.uuid, 'history', history)
self.datastore.update_watch(self.uuid, 'last_checked', int(time.time()))