Small fix for missing var

This commit is contained in:
dgtlmoon
2024-07-12 13:37:22 +02:00
parent 97345aba07
commit 682ae1a5af

View File

@@ -118,7 +118,7 @@ class perform_site_check(difference_detection_processor):
raise Exception("Watch no longer exists.")
# Unset any existing notification error
update_obj = {'last_notification_error': False, 'last_error': False, 'restock': None}
update_obj = {'last_notification_error': False, 'last_error': False, 'restock': Restock()}
self.screenshot = self.fetcher.screenshot
self.xpath_data = self.fetcher.xpath_data